Skip to content
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

Problems using the created iOS static frameworks for simulator architecture. #208

Open
Motti-Shneor opened this issue Dec 30, 2014 · 0 comments

Comments

@Motti-Shneor
Copy link

We have a relatively complicated project, where our iOS application is relying (dependent on and linking against) 3 iOS static framework, which in turn rely on a few more iOS static frameworks. They even have cross usage. All the iOS static frameworks are of our own making (internal to the organization), and build from our projects. It all works fantastic with Xcode 5.1.1, and even on Xcode 6.x.x, Except for building for simulator.

Then our application emits 3 link errors, that it can't find the framework binaries. When I look into the ~/Library/Developer/Xcode/DerivedData/ourProject_xxx/Product/Build directory, I see that the frameworks are actually built for simulator, but with a wrong binary name (and possibly wrong format)

Whereas the normal (non-simulator) builds have the binary at myFramework.framework/myFramework, in the simulator build I have myFramework.framework/objMyFramework.a instead. Of course the linker fails to find this, trying to build against the framework.

Now I don't see any build-scripts or post-build scripts in our iOS-Static Framework targets --- maybe it is part of the template installed somewhere in the bowels of Xcode itself --- so I don't know how to start debugging this. If anyone can help me start, I'd be forever grateful. I know this project will soon die, but since we MUST release our application for iOS 6 or later - we can't use the new dynamic frameworks for a while.

Please help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant