Open maikelsibbald opened 10 years ago
I have the same problem.
In converting to XCode 5, I initially had these very same problems. I carefully went through my framework project and looked at each setting as described in README.mdown.
In doing so, I noticed that a few of my project settings were not in alignment with those described in 'Step 4: Disable Code Stripping. Once I fixed that and rebuilt, all is now working.
I'm having the same problem. I double checked my settings, as mentioned by foscomputerservices, and everything is set properly. Any other solution?
Same problem here. When I create a framework with following settings: target: aggregate and device iphonesimulator
then I am able to run my third party app in iphone simulator mode but NOT on my device due to following error:
File is universal (2 slices) but does not contain a(n) armv7s slice: /***/AbaWeatherForecast.framework/AbaWeatherForecast file '/***/AbaWeatherForecast.framework/AbaWeatherForecast' for architecture armv7s
The other way round. When I create a framework with following settings: target: aggregate and IOS device
then I am able to run my third party app on my iphone device but NOT in my iphonesimulator due to following error:
Ignoring file /***/AbaWeatherForecast.framework/AbaWeatherForecast, missing required architecture i386 in file /***/AbaWeatherForecast.framework/AbaWeatherForecast (2 slices)
Does anybody has a solution for this issue?
Thanks in advance!
-Paul Solt
On Tue, Jan 7, 2014 at 11:57 AM, dominik0711 notifications@github.comwrote:
Same problem here. When I create a framework with following settings: target: aggregate and device iphonesimulator
then I am able to run my third party app in iphone simulator mode but NOT on my device due to following error: File is universal (2 slices) but does not contain a(n) armv7s slice: //AbaWeatherForecast.framework/AbaWeatherForecast file '//AbaWeatherForecast.framework/AbaWeatherForecast' for architecture armv7s
The other way round. When I create a framework with following settings: target: aggregate and IOS device
then I am able to run my third party app on my iphone device but NOT in my iphonesimulator due to following error: Ignoring file //AbaWeatherForecast.framework/AbaWeatherForecast, missing required architecture i386 in file //AbaWeatherForecast.framework/AbaWeatherForecast (2 slices)
Does anybody has a solution for this issue?
Thanks in advance!
— Reply to this email directly or view it on GitHubhttps://github.com/jverkoey/iOS-Framework/issues/65#issuecomment-31755691 .
Paul Solt PaulSolt@gmail.com 215-341-0407 (Cell) http://www.PaulSolt.com/
Creative apps for iPhone and iPad: http://www.ArtworkEvolution.com/
I had the same issue (and triple-checked all settings), and solved it by setting "Build Active Architectures Only" to No in the static library target/Project build settings. This is NOT mentioned in the tutorial. (NB, what @PaulSolt refers to is in the context of the resources bundle, not the library itself).
@jverkoey Perhaps worth mentioning in the tutorial? (And thanks a lot for this brilliant walk-through!)
Daniel,
Post a pull request with the clarifying text so that we can improve the guide.
-Paul
On Fri, Apr 25, 2014 at 9:37 AM, Daniel Rinser notifications@github.comwrote:
I had the same issue (and triple-checked all settings), and solved it by setting "Build Active Architectures Only" to No in the static library target/Project build settings. This is NOT mentioned in the tutorial. (NB, what @PaulSolt https://github.com/PaulSolt refers to is in the context of the resources bundle, not the library itself).
@jverkoey https://github.com/jverkoey Perhaps worth mentioning in the tutorial? (And thanks a lot for this brilliant walk-through!)
— Reply to this email directly or view it on GitHubhttps://github.com/jverkoey/iOS-Framework/issues/65#issuecomment-41392966 .
Paul Solt PaulSolt@gmail.com 215-341-0407 (Cell) http://www.PaulSolt.com/
Creative apps for iPhone and iPad: http://www.ArtworkEvolution.com/
I had same Issue
Showing Recent Messages ld: warning: ignoring file /Users/dilipkumar/Downloads/petzview_ios_Live/OldBase/Old_PetzLive/IotCamera/IOTCamera.framework/IOTCamera, missing required architecture arm64 in file /Users/dilipkumar/Downloads/petzview_ios_Live/OldBase/Old_PetzLive/IotCamera/IOTCamera.framework/IOTCamera (2 slices)
I've seen multiple people having faced this problem. I have no clue how to proper build my framework for release, debug seems to be working fine. Once I build a release with the project that is using my custom framework, it show that error.
No I've seen that Build Active Architecture Only is set to No in my Aggregate Target.
I'm using the play button to build when I have the target selected (is this the right way to "export"), and it's located in "Debug-iphoneos" and "Debug-iphonesimulator" nothing in any release folder.
And I'm using the library simply by dragging the .framework folder + .bundles to my project.
Could you help me out?