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
Unable to build the framework #115
Comments
I think you'll need to set the Pod project to build for arm64, for some reason the pod project that gets created isn't set by default to build for all architectures. If that's not the issue feel free to re-open :) |
I tried a bunch of things and had a couple co-workers give it a shot too (who are wiser in the ways of cocoapods and xcode). We weren't able to get it working though. Any advice, guidance would be really nice. |
I can't figure out how to re-open though. |
will try to look into this week! |
Thanks a lot! For what it's worth, I had two others try this on their computer and fail but then a third (with a similar set up to the rest of us) tried and had no problem. So I'm not sure what's going on. But let me know if there's any info I can provide to help! |
haha oh fun :D ok i'll commandeer someone's computer this week and try it out, did you compare versions or anything? that would be super helpful, thanks man! |
What things should we look at besides xcode version and cococapods version? |
that's probably good! |
I'm getting this too. I thought I was okay because the "Analytics" scheme built fine, but the "Analytics.framework" scheme is failing with the same error. |
The same issue here |
This is what helped to me |
Thanks a lot @realf ! That got me closer, but now I'm seeing this: "lipo: can't open input file: /Users/jorlow/src/segment-io/DerivedData/Analytics/Build/Products/Release/libAnalytics-x86_64-clean.a (No such file or directory)" |
@jorlow Try to remove it in a framework build phase:
|
Sorry @realf I don't quite understand what you mean. |
@jorlow |
It finally built after I did that and deleted "${SRCROOT}/Pods/Mixpanel/Mixpanel/*.xib". Thanks a lot! |
this is pretty odd, |
Mavericks with latest gen mac book pro + Xcode 5.0. Definitely 64bit. $ xcodebuild -version $ pod --version $ ruby --version |
have you tried testing the built framework in a simulator demo app? i tried making the suggested changes here locally, and while it also builds successfully for me, a simulator demo app now fails to build with the following error:
when I add back the this makes sense since the simulator needs an i'd love to resolve this since it seems to be a blocker on contributions to the SDK, but not sure how to replicate, sorry! |
Well, another blocking thing was Localytics. We had to remove its provider to be able to build the framework. |
i was recently chatting with someone who had this problem and this was the solution for them |
Closing, feel free to reopen if you're still encountering issues. |
I have a fresh checkout of the source, an up to date cocoapods, ran "pod install", and then tried to build the "Analytics.framework" scheme and got the following error.
fatal error: lipo: fat input file (/Users/jorlow/src/segment-io/DerivedData/Analytics/Build/Products/Release/libAnalytics.a) does not contain the specified architecture (x86_64) to thin it to
Any idea what's going on or how I can fix it? I saw this with both Xcode 5 and 5.1
The text was updated successfully, but these errors were encountered: