iOS-Framework
iOS-Framework copied to clipboard
Framework not able to build for iOS7 64-bit target ($(ARCHS_STANDARD_INCLUDING_64_BIT))
Hi ,
Thanks for this awesome framework.
we tried to compile our framework to iOS7 but it failed for iOS7 64 bit.
can we know any settings to change in the build arc or script to make work?
Thanks.
It should work, I have been able to build arm64 libraries. I've built all the sample projects in the repro at 64bit and my own static library at 64bit for iOS 7.
What errors did you get?
If I select a 32bit simulator and build, it builds. If I use that in another project using the 32bit simulator, it runs. If I use that in another project using the 64bit simulator, it gives a runtime crash for undefined selector.
If I select a 64bit simulator and build, it builds. If I use that in another project using the 64bit emulator, it runs. If I use that in another project using the 32bit simulator, it gives a runtime crash for undefined selector.
It seems that when I build, it is only building for 32bit or 64bit. It does seem to build properly for both Intel and ARM for use on device and simulator, though.
Sounds like you've stripped the build to only the active architecture. Make sure that setting is not set in your project build settings.
Make sure it's not set for either debug or release in your framework settings. Check all of them.
Paul Solt Sent from my iPhone
On Dec 12, 2013, at 3:33 PM, Matt Zanchelli [email protected] wrote:
If I select a 32bit simulator and build, it builds. If I use that in another project using the 32bit simulator, it runs. If I use that in another project using the 64bit simulator, it gives a runtime crash for undefined selector.
If I select a 64bit simulator and build, it builds. If I use that in another project using the 64bit emulator, it runs. If I use that in another project using the 32bit simulator, it gives a runtime crash for undefined selector.
It seems that when I build, it is only building for 32bit or 64bit. It does seem to build properly for both Intel and ARM for use on device and simulator, though.
— Reply to this email directly or view it on GitHub.
I got it working. Thank you, Paul!
Awesome!
Was the architecture stripping build setting your issue?
-Paul Solt
On Mon, Dec 16, 2013 at 11:44 PM, Matt Zanchelli [email protected]:
I got it working. Thank you, Paul!
— Reply to this email directly or view it on GitHubhttps://github.com/jverkoey/iOS-Framework/issues/61#issuecomment-30725915 .
Paul Solt [email protected] 215-341-0407 (Cell) http://www.PaulSolt.com/
Creative apps for iPhone and iPad: http://www.ArtworkEvolution.com/
It was the "Build Active Architecture Only" Build Setting that was causing the issue.
I just spent about an hour trying to figure out this same problem! And it was fixed by setting "Build Active Architecture Only" to NO for the Debug setting. It took me some time to realize that building the "fat binary" would be accomplished in Debug mode.
I think it would be great to have this explicitly stated in the docs.
Otherwise LOVE this project!