You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add framework for dynamic linking to my project, it doesn't show iOS framework in Embedded Binaries and even when I fixed it, I had issues for resources.bundle file.
Interestingly, I had not these issues with UnrarKit, while I get UnrarKit/Classes/UnrarKit.h:12:9: 'Cocoa/Cocoa.h' file not found error.
It's complaining about not finding Cocoa.h since that's a Mac header. For cross-platform projects I usually ifdef Cocoa for Mac and UIKit for iOS. From UnrarKit:
I got this error when tried to upload to iTunesConnect, using UnrarKit.framework in project:
ERROR ITMS-90060: "This bundle is invalid. The value for key CFBundleShortVersionString '2.8-beta' in the Info.plist file must be a period-separated list of at most three non-negative integers."
There is also some other malformations in framework 😂 but as far as it works there is no problem.
Nope, simply dragged .xcodeproj into my project and added it to Embedded Binary section.
Carthage automatically rectifies some common malformations and universal binaries. But I'm more convenient with this style
I was reading back through this thread, and I couldn't tell if UnzipKit is being affected, or if this only affected UnrarKit. Is there any work left to do on UnzipKit related to using it as a dynamic framework?
I tried UnzipKit framework again, now the problem is UnzipKit-iOS target is not enlisted in Embedded Binaries section in project settings when I want to add it while I can see UnzipKit macOS in the list. I tried to solve problem by changing some project settings without success.
I supposedly has to recreate iOS target from scratch.
Activity
abbeycode commentedon Dec 5, 2016
It's complaining about not finding
Cocoa.hsince that's a Mac header. For cross-platform projects I usuallyifdefCocoa for Mac and UIKit for iOS. From UnrarKit:abbeycode commentedon Dec 9, 2016
Are you still having this problem?
amosavian commentedon Dec 9, 2016
I didn't try again. Falled back to manual inclusion. I'll try and inform you
amosavian commentedon Dec 11, 2016
@abbeycode I solved the problem with
UnrarKitby adding new line toUnrarKit.humbrella header:I will tell about UnzipKit if I overcome the problem
amosavian commentedon Dec 12, 2016
I got this error when tried to upload to iTunesConnect, using
UnrarKit.frameworkin project:There is also some other malformations in framework 😂 but as far as it works there is no problem.
abbeycode commentedon Dec 12, 2016
Interesting. If you're working off of a fork, just update the
Info.plistnot to be a beta (just2.8).amosavian commentedon Dec 12, 2016
I did and now is uploading the binary \o/
abbeycode commentedon Dec 12, 2016
How are you producing the framework? Are you using Carthage?
amosavian commentedon Dec 12, 2016
Nope, simply dragged
.xcodeprojinto my project and added it toEmbedded Binarysection.Carthage automatically rectifies some common malformations and universal binaries. But I'm more convenient with this style
abbeycode commentedon Dec 27, 2016
I was reading back through this thread, and I couldn't tell if UnzipKit is being affected, or if this only affected UnrarKit. Is there any work left to do on UnzipKit related to using it as a dynamic framework?
amosavian commentedon Dec 28, 2016
I didn't tried to figure out how to resolve the problem with UnzipKit yet, I'll try after new year eve.
amosavian commentedon Dec 30, 2016
I tried UnzipKit framework again, now the problem is
UnzipKit-iOStarget is not enlisted inEmbedded Binariessection in project settings when I want to add it while I can seeUnzipKit macOSin the list. I tried to solve problem by changing some project settings without success.I supposedly has to recreate iOS target from scratch.
Fixed iOS target and scheme to produce a valid framework (Issue #48)
abbeycode commentedon Jan 5, 2017
Can you try the
issue48branch? I think it should work for you now. If so, I'll cut a new release.amosavian commentedon Jan 6, 2017
@abbeycode tested and it works perfectly
abbeycode commentedon Jan 11, 2017
This has been merged to
masterand is included in v1.8.3. Thanks again for pointing it out!amosavian commentedon Jan 12, 2017
Thank you very much