Search results for

Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for

186,349 results found

Post

Replies

Boosts

Views

Activity

Reply to Is adding iOS frameworks required?
In order to use the iAd framework, your application needs to access the API's available to the iAd network framework. Therefore, you will have to add the framework into your project. You don't need to embed the framework, you will only need to link your application to the framework itself. That way you are able to call iAd API's from within your application without 'embedding' a standard framework. If you used a framework that was a non-standard framework (yet approve by Apple) you would have to embed that framework into your application bunldle.Hope this helps!!
Jan ’16
Reply to Linking to system python lib fails in Monterey
How can one link to the system Python2 framework? To fix the error, You can get the python framework by installing Python 2 Release. Such as downloading 2.7.18 at: https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg Install Python package, and then add the /Library/Frameworks/Python.framework/ to project. The framework embedded in the built App bundle will takes up about 359MB of disk space. BTW, If you only want to use the Xcode Python raw library locally and don't want to consume such the large space, making a dynamic library from Python source code would be a better choice. Such as downloading 2.7.18 at: https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz ./configure --enable-shared make After make is finished, drag the Python.dylib into the project.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’22
Reply to xcodebuild with a framework under $TMPDIR fails
We were using the following build command with xcode 14.3: -framework $PROJECT_DIR/../devices/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphoneos/myFramework.framework -framework $PROJECT_DIR/../simulators/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphonesimulator/myFramework.framework -output $PROJECT_DIR/../output/myFramework.xcframework And we are experiencing the same issue. How can we solve this?
Oct ’23
Reply to Is it possible to submit an app to App store with a dynamic framework that has the simulator slice in it?
I'm also facing the same problem. My team is developing a dynamic framework, which is not open source. The only way to distribute the framework to our customers is by building a fat framework. But bad luck, Apple is rejecting the apps, only because the framework contains simulator slices. This is not fair actually. Apple should provide us some kind of option to create a dynamic library which can run on both simulator and devices.Distributing a framework for simulator and for devices separately is a cumbersome process for both developers and customers.
Jul ’16
Reply to Can't deploy to iPhone (not available, please reconnect the device)
[SOLVED]. This is what worked for me. I have IOS 14.2 beta and Xcode 12.2 beta, so the versions are supposed to match but I still had the problem. I unpaired the iPhone (from Window - Devices and Simulators), restarted Xcode. This did not resolve the problem. Then I went back to Window - Devices and Simulators, and then checked Connect via network, disconnected lightning cable and built the app. That worked. So the solution for me was to build to iPhone via network and not using USB connection.
Sep ’20
Build Successful but installation failed on any devices and on any simulators
Hello Everyone,I hope you can help me on this issue 🙂I have a xcode project that builds on all xcode versions (6, 7, 8, 9 and 9.4). The build is always successful. But the problem is that installation failed on all devices and all simulators.The error message for any devices is : There was an internal API error.The error message for any simulators is :Installation Failed.I tried to clean the project, to delete derived data folder, to restars xcode and even the computer. But nothing resolved the issue.I also find the simulator log about the error :com.apple.dt.Xcode[11252] <Error>: installApplication:withOptions:error:: Error Domain=IXUserPresentableErrorDomain Code=1 This app could not be installed at this time. UserInfo={NSLocalizedDescription=This app could not be installed at this time., NSUnderlyingError=0x7fe7cbd9b5c0 {Error Domain=MIInstallerErrorDomain Code=4 Failed to chmod /Users/press4kids/Library/Developer/CoreSimulator/Devices/31D354C7-1D36-42D9-A08D-160A
0
0
1.3k
Jul ’18
Reply to Both ios-arm64-simulator and ios-x86_64-simulator represent two equivalent library definitions
edit: using lipo is necessary, and is the accepted solution for this. Can you provide some links to where this is documented and how we are supposed to accomplish this? I am in the middle of getting some of our C++ dependencies to build with iOS arm64 simulator support and am failing when attempting to make an xcframework with all three slices.
Dec ’20
Unable to build a watchos2 simulator app from commandline
Hi,Facing an issue when we are trying to build an app for watchos2 simulator from terminal. xcode version :- Version 7.3.1 (7D1014)OS version:- 10.11.5 (15F34)Command used :-xcodebuild -target testwatchCMD -sdk iphonesimulatorError:-Build settings from command line: SDKROOT = iphonesimulator9.3=== BUILD TARGET testwatchCMD WatchKit Extension OF PROJECT testwatchCMD WITH THE DEFAULT CONFIGURATION (Release) ===Check dependenciestarget specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'iphonesimulator' platform** BUILD FAILED **The following build commands failed: Check dependencies(1 failure)Unable to understand where am i doing wrong.Regards,K.Prabhakar
0
0
457
Jun ’16
Reply to Xcode 26 Link Error
Does building your project with Xcode 16 produce this error? If so, then that's a regression, and you should file a bug report about it with a reproducible project attached. Then post the FB number here for our reference. It would also be helpful if you shared more about the library (here and in your bug report). For example: How is it built, and when? Using Xcode or other tools? What happens if you rebuild the library so that you don't need the -ld_classic option? Does it contain multiple architectures? Is it mixing iOS and iOS simulator together in the same binary? What platform is this build for? — Ed Ford,  DTS Engineer
Jun ’25
Xcode12 build error. The linked framework 'Pods_projectA.framework'is missing one or more architectures required by this target: arm64
This morning, the Xcode, which had been doing well, has been updated to version 12, and it has not been built since the error 'The linked framework 'Pods_CafeHome.framework'is missing one or more architectures required by this target: arm64' occurred. I updated Cocoa pod. I removed all about pod and installed again. but i could not resolve
15
0
53k
Sep ’20