Code Monkey home page Code Monkey logo

Comments (8)

PaulSolt avatar PaulSolt commented on July 2, 2024 1
  1. Make sure you don't code strip:
    iOS-Frameworkhttps://github.com/jverkoey/iOS-Framework#step-4-disable-code-stripping
  2. Make sure you don't build only for the active architecture. Check all
    project and target settings.
    iOS-Frameworkhttps://github.com/jverkoey/iOS-Framework#step-2-clean-up-the-bundle-target-settings

-Paul Solt

On Tue, Jan 7, 2014 at 11:57 AM, dominik0711 [email protected]:

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//issues/65#issuecomment-31755691
.

Paul Solt
[email protected]
215-341-0407 (Cell)
http://www.PaulSolt.com/

Creative apps for iPhone and iPad: http://www.ArtworkEvolution.com/

from ios-framework.

javiersuazomatus avatar javiersuazomatus commented on July 2, 2024

I have the same problem.

from ios-framework.

foscomputerservices avatar foscomputerservices commented on July 2, 2024

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.

from ios-framework.

JFGagnon avatar JFGagnon commented on July 2, 2024

I'm having the same problem. I double checked my settings, as mentioned by foscomputerservices, and everything is set properly. Any other solution?

from ios-framework.

dominik0711 avatar dominik0711 commented on July 2, 2024

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!

from ios-framework.

danielr avatar danielr commented on July 2, 2024

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!)

from ios-framework.

PaulSolt avatar PaulSolt commented on July 2, 2024

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 [email protected]:

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//issues/65#issuecomment-41392966
.

Paul Solt
[email protected]
215-341-0407 (Cell)
http://www.PaulSolt.com/

Creative apps for iPhone and iPad: http://www.ArtworkEvolution.com/

from ios-framework.

mssdilipkumar avatar mssdilipkumar commented on July 2, 2024

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)

from ios-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.