Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Framework not able to build for iOS7 64-bit target ($(ARCHS_STANDARD_INCLUDING_64_BIT)) #61

Open
S3Paramasivan opened this Issue · 7 comments

4 participants

@S3Paramasivan

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.

@PaulSolt
Collaborator

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?

@mdznr

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.

@PaulSolt
Collaborator
@mdznr

I got it working. Thank you, Paul!

@PaulSolt
Collaborator
@mdznr

It was the "Build Active Architecture Only" Build Setting that was causing the issue.

@nfarina

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.