-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample app required #9
Comments
There were some project settings that needed to be adjusted. Try my fork: https://github.com/aleph7/musickit |
That did the trick! Thanks! Where should I push code improvements to? To this repository or to your fork? |
You can post them here. I'll merge my changes here as well. |
I have the same problem as martinvalenta posted. Are there any solutions? |
@ivan-milic Did you try @Aleph7's fork? |
@aidangomez aren't those two the same now? |
@ivan-milic No, I don't think @martinvalenta ever PR'd his changes here. |
I did merge my changes here. |
@Aleph7 Whelp, nevermind. |
@Aleph7 Are you aware what was the problem because i am having the exact same that @martinvalenta mentioned. And btw, do you, by any chance, have any sample application that uses your framework just so i can see how it's used? |
It was a problem with the project settings. Maybe something changed again in Xcode 8.1. I'll look into it in the next couple of days. There is a sample preview app in the project but that is the only thing that is publicly available. |
@ivan-milic can you run |
@Aleph7 yes, i can run the PreviewGenerator. I get the above mentioned error when i import the MusicKit.framework into another project and try to build it. Also when i import the MusicKit header into the MusicKitApp inside this project, i get the "cmath file not found" error when i try to build it. |
@Aleph7 I changed the build settings for MusicKitApp target to compile sources as Objective-C++ rather than "According to file type" and i can build it successfully. I just wish there was a manual for using this framework or like a sample iOS app which just shows how to read a musicXML file and display the sheet music in the app. |
@Aleph7 I am getting the error 'mxml/geometry/Point.h' when I include MusicKit.framework in my separate Xcode project. It seems like it's not finding any of the mxml headers. Can you help? |
make sure you run |
@Aleph7 Thanks. Getting a different error now (making progress!) The MusicKitApp builds and runs successfully but my app still doesn't. I tried changing the target to compile sources as Objective-C++ rather than "According to file type" I'm getting:
and
Thanks for getting back to me so quickly! |
No problem. Make sure you have C++11 as the compiler. Not sure about the header thing, I'll have look later. |
@Aleph7 Figured it out. In MusicKit.framework, the build setting 'Allow Non-modular Includes in Framework Modules' should be set to YES. |
@Aleph7 Let me know when you have a chance to take a look. Still having issues with it finding the mxml lib, but PreviewGenerator compiles and runs great. |
I though that was fixed, did you try |
@Aleph7 yes, but if you try to import MusicKit (not MusicKitOSX) inside the a file in MusicKitApp, it does not compile. |
@Aleph7 Any chance we could get a sample iOS app to see how this is implemented? Trying to use VMKPageScoreLayout and VMKPageScoreDataSource but getting null pointer exceptions. |
Sorry, wish I could help, haven't worked on this in a while and am pretty busy. |
Curious if there's an update on this. Would love to see a simple sample app that demonstrates the capabilities. |
Thanks, I'm asking more for the general audience (and myself) since it's
hard to tell what is/isn't implemented without more documentation. I seem
to have some parts working, but other parts I get crashes (working with the
cursor types, for example). In my limited experimentation, I also haven't
figured out how to get the cursor to show or what the recommended way is
for moving the cursor along to the music. A basic example showing how to
display page and scroll score rendering along with illustrating how the
cursor works in both scenarios would be great and help with
adoption/support.
On Sat, Feb 17, 2018 at 5:03 AM, Daniel Kuntz <[email protected]>
wrote:
… Thanks for asking again, but I’ve already figured this out. The iOS
rendering library compiles and works great in Crescendo and Notella.
On Sat, Feb 17, 2018 at 3:15 AM Seth ***@***.***> wrote:
> Curious if there's an update on this. Would love to see a simple sample
> app that demonstrates the capabilities.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/venturemedia/musickit/issues/
9#issuecomment-366425658>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACvyVp_
5uFNt9dZL9GRzLx1Kwb41vMf6ks5tVoq9gaJpZM4KTiKS>
> .
>
--
Daniel
|
Is there any sample app available which shows how to integrate MusicKit into one own's project?
I can build the project, especially the frameworks. However, when I try to include the framework via
#import <MusicKit/MusicKit.h>
I get the errorCould not build module 'MusicKit'
. Also, the expressionFOUNDATION_EXPORT
inMusikKit.h
causes trouble. In that header I also get multiplefile not found
errors, e.g. for#import <MusicKit/VMKColor.h>
.Is there something wrong with the project set-up or am I missing something?
The text was updated successfully, but these errors were encountered: