-
Notifications
You must be signed in to change notification settings - Fork 95
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
Can't find module or Unknown object version. Just won't work #294
Comments
Can you confirm exactly which version of Xcode you're using, and which version of macOS you're on? For what it's worth, the framework project in the |
Version 12.0.1 (12A7300)
MacOS Catalina 10.15.7 (19H2)
…On Thu, Oct 1, 2020 at 1:30 AM Andrew Madsen ***@***.***> wrote:
Can you confirm exactly which version of Xcode you're using, and which
version of macOS you're on?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGHWMI27G4O54J4PWBSSHE3SIQHZFANCNFSM4RX2PHWA>
.
|
Also:
git status
On branch issue-292-apple-silicon
Your branch is up to date with 'origin/issue-292-apple-silicon'.
…On Fri, Oct 2, 2020 at 10:07 PM Hack Saw ***@***.***> wrote:
Version 12.0.1 (12A7300)
MacOS Catalina 10.15.7 (19H2)
On Thu, Oct 1, 2020 at 1:30 AM Andrew Madsen ***@***.***>
wrote:
> Can you confirm exactly which version of Xcode you're using, and which
> version of macOS you're on?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#294 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AGHWMI27G4O54J4PWBSSHE3SIQHZFANCNFSM4RX2PHWA>
> .
>
|
So Cocopads doesn't work, and dragging the completed framework bundle doesn't work. |
I got past this, but my methodology is dodgy. I added the framework in by hand (add other...), made sure the framework search path pointed to the right place, and importantly set the signing for MIKMIDI was “development”. I’d love thoughts on how to make this less fragile, such as how to make MIKMIDI a swift package. |
I'm tracking SwiftPM support in #303. In the meantime, you might consider using MIKMIDI.xcframework. 1.7.1 is here: https://github.com/mixedinkey-opensource/MIKMIDI/releases/download/1.7.1/MIKMIDI-1.7.1.xcframework.zip. I plan to get a 1.7.2 release out including M1 support soon, but you can already build it yourself on the 1.8 branch by running the script |
Thanks! I got the xcframework working, sort of (doesn't work for previews for reasons I bet aren't under your control). I'll try 1.8 for giggles. |
I was trying to use the branch made to work with Xcode 12, since other branches won't compile. I tried building it and dragging the release framework into my project, but while Xcode claims to have added the framework (shows up in the embedded stuff area as well as the link these libraries area), the compiler says it can't find the module when I put "import MIKMIDI".
So I tried cocoapods, simply setting the Podfile to:
... and pod says:
RuntimeError - [Xcodeproj] Unknown object version.
Xcodeproj is at 1.16.0
MIKMIDI, as a project, happily builds and passes all tests in the same xcode. (Version 12.0 (12A7209))
The text was updated successfully, but these errors were encountered: