Search results for

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

186,331 results found

Post

Replies

Boosts

Views

Activity

Universal link works in simulator but not on device
Recently I upgraded to xcode 8. I have universal links configured and used to work fine until I released a newer version built on xcode 8.Surprisingly universal link works when I am testing in simulator - I can press right corner then it opens in safari - again I press right corner it shows me OPEN banner which opens the app. Also clicking on url embedded in email works.However I can't open any of my links in app on my device.In https://search.developer.apple.com/appsearch-validation-tool/: I am getting,Link to ApplicationACTION REQUIREDCould not extract required information for Universal Links. Learn how to implement the recommendedUniversal Links.Extracted DataError no apps with domain entitlementsThe entitlement data used to verify deep link dual authentication is from the current released version of your app. This data may take 48 hours to update.branch.io validator https://branch.io/resources/universal-links/passes
2
0
5.1k
Oct ’16
error sumup framework link
hi i have an issue linking sumup framework... if i run my objc ios application works on my ipad, if i run to simulator works, if i export archive for appstore or enterprise ipa compile give me error... what can i do?for work i need to use Other Linker Flags to -ObjC otherwise not work library
1
0
791
Nov ’19
Reply to xcframework: how to wrap a static library?
xcodebuild determines this based on the -destination option. How do we apply this when a static library is not built with Xcode? I have a static library (in C) built for several architectures, but I haven't found any way to build an xcframework that associates the correct architecture with the simulator. When I try to construct an xcframework just by appending them all: for lib in *.a; do xcodebuild -create-xcframework -library $lib -headers include -output PEQ.xcframework; done the linking product that consumes them throws a warning: ld: warning: ignoring file .../Release-iphonesimulator/PEQ-x8664.a, missing required architecture arm64 ... And cannot find the symbols. I've also tried linking just the x8664 and arm64 versions in a single call: xcodebuild -create-xcframework -library PEQ-arm64.a -headers include -library PEQ-x86_64.a -headers include -output PEQ.xcframework (If I try to include the i386 or armv7 versions, it complains that they represent tw
Oct ’20
Could not build the application for the simulator.
Hello everyone, I am having a error when I run a flutter app on iPhone's simulator, this message error is following: Error (Xcode): could not build module 'ObjectiveC' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/os/object.h:113:8 Error (Xcode): could not build module 'os_object' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/dispatch/dispatch.h:62:9 Error (Xcode): could not build module 'os_object' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/usr/include/os/workgroup_base.h:18:9 Error (Xcode): could not build module 'Dispatch' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:19:9 Error
2
0
3k
Jan ’23
Building a Framework (sim and device)
HiI'm using Xcode 7.3 and developed a Swift class library as a framework for other developers to use in iOS apps. I'm having troubles with the build whereby the resulting framework file will work in the simulator and device without having to create 2 separate frameworks. Is there any guidance on how to build a single framework?Thanks
1
0
5k
Apr ’16
tvOS framework & iOS framework in the same project
I've created an empty xCode project, and added 2 targets. 1 is a tvOS framework, and the other is an iOS framework. In order to build either target - I need to go to the project build settings and select the appropriate Base SDK. I shouldn't need to change this every time I want to build either target. Aren't the target settings supposed to override the project settings?This is a problem when I do this....Create a workspaceAdd an iOS Application project to the workspaceAdd a tvOS application project to the workspaceAdd the framework project which contains the 2 targets mentioned above to the work spaceAdd the tv framework to the tvOS application linked frameworks and binariesAdd the iOS framework to the iOS application linked frameworks and binariesI can now run both apps in the simulator without any problems. But, running either app on a device gives error..
0
0
994
Nov ’15
Locally Built Apple-LLVM Toolchain Can't Built Bitcode Supported Static Framework
I cloned Apple's LLVM repo from github (link), - https://github.com/apple/llvm-project/ then I took the apple/stable/20200714 branch, and successfully built an Xcode toolchain. Using that locally built toolchain, I built my static framework with bitcode enabled, and included that framework in my iOS app project. When I was trying to build the app with bitcode enabled, everything was fine, until I choose to Archive the app, the following error is encountered: ld: loaded libLTO doesn't support -bitcode_hide_symbols: LLVM version 11.0.1release for architecture armv7 This error only happens when I use my locally built toolchain. No error when archiving with Xcode's default toolchain. Since I used the stable branch of the Apple-LLVM, I didn't expect the difference in the behavior. My Xcode version is 11.5. Any input regarding this issue will be highly appreciated.
3
0
1.2k
Jan ’21
Building an xcframework, how to get dependency framework headers to be included in final framework
I am building an xcframework that depends on a few other frameworks. I have a header file which includes the header for one of the underlying frameworks. This is needed to make the framework build successfully: #import <MTBeaconPlus/MTBeaconPlus.h> I archived 2 different framework builds for device and simulator architectures/platforms. I built the xcframework successfully. However, when I try to use the built framework in a project, I get an error stating: 'MTBeaconPlus/MTBeaconPlus.h' file not found When I inspect the folder structure of my xcframework, I see the frameworks included for each architecture/platform build, but the headers folder for each isn't there. How do I make sure those are included when building the archives and then when using those archives to build the final xcframework?
1
0
405
Jul ’24
Reply to Xcode 12 beta 4 - error compiling for Simulator
Hello, To all the people with the ARCHS[@]: unbound variable error after setting the iOS Simulator SDK to arm64 and who can build for a real device (also for Any IOS Device(arm64)) but can't build the Simulator. I solved my problem following the answer from the user called trishcode in this Stack Overflow post: https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios What you need to do is: Remove what you did earlier, you MUST NOT set the iOS Simulator SDK to arm64, Set the VALIDARCHS variable with an empty value using a User-Defined build setting, you must set this in the project not in the target (in the main project and Pods project if you are using CocoaPods). Clean and build the project with a Simulator selected (I used iPhone 11). The build will fail. After it fails, go to the pr
Sep ’20
Reply to Missing BCSymbolMap for AppStore Submission - Xcode7B5
OK, so I found the issue, at least for me.I have my own framework which is in a workspace alongside the apps that it is used for. When I added the framework to the app, it would link to an absolute path instead of a relative one. So, I fixed the issue by right clicking the embedded binary for the framework and selecting reveal in project navigator (which is the bar on the left). You can also just click the framework on the left (project navigator). Then you'll see the path is absolute. Change this to relative to build and it should embed properly.
Feb ’16
Asset validation failed (90085): Static Framework Embedded in Dynamic Framework
One of our apps got hit by the ITMS-91065: Missing Signature issue when we attempted to distribute it to externally via TestFlight. The email said FirebaseCore is missing the signature file within our own framework. After investigation, I realized our recent update to the version of Firebase that has the proper signatures and privacy manifest wasn't enough by itself. Similar to Apple's own instructions on embedding static frameworks since Xcode 15, Firebase instructs us to select the Embed & Sign option. After making the appropriate changes though, we're getting the error in Transporter: Asset validation failed (90085): No architectures in the binary Our setup is as follows: We have an analytics dynamic framework, which depends on Firebase's static framework. The Firebase related frameworks are embedded and signed in our analytics framework. Our app depends on the analytics dynamic framework, which now includes Firebase frameworks
1
0
1.2k
May ’24
Is it possible to submit an app to App store with a dynamic framework that has the simulator slice in it?
I found out that some apps had been rejected because they had the simulator slice in a dynamic framework, but I then noticed that some dynamic frameworks like Parse have the simulator slice and there are apps using it in the app store.We make a framework that we provide to our customer to embed in their apps and we want to know if we can make it a dynamic framework instead of a framework with a static library in it that we build the framework symlinks after the build using a shell script. We would like to distribute our framework as a dynamic framework.We need to know if we have to provide our clients with two frameworks, one with the simulator slice in it, for debugging and another one without it, for release, so our clients can submit their apps for approval.
10
0
12k
Oct ’15
Reply to Framework does not load on simulator
Yes, that sounds about right.I found that if I clear Dynamic Library Install Name in Build settings - which is defined as $(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH), I am able to install and run the app in the simulator, i.e. the app is not crashing when launched from the Springboard as before. It appears to load all the frameworks and it works on both iPhone and Watch simulator.At the same time, I need Dynamic Libarary Install Name as it is defined by default in order to be able to install the frameworks on the iPhone. But I cannot have both at the same time, apparently. I have kind of found a workaround even though it is not so enjoyable to play with the build settings all the time.All the frameworks I am using are my own, built by myself in Xcode, latest beta on everything. I have checked build settings hundreds of times.It is the oposite on the Watch, by the way. I can run and launch the app in the simulators
Jul ’15
m1 Simulator build error
Hello, everyone, I have trouble, to build for ios simulator. I am trying open3d python on my project, with this example. (https://github.com/kewlbear/Open3D-iOS/issues) I use Open3D-iOS, PythonKit, and anyone else... I have no problem when I build for a real device, but it occurred when I build for the arm64 simulator... Error Message Ld /Users/wonki/Library/Developer/Xcode/DerivedData/PythonKitTest-geoicgbvhlgamxbhtzfsbgdqmfft/Build/Products/Debug-iphonesimulator/PythonKitTest.app/PythonKitTest normal (in target 'PythonKitTest' from project 'PythonKitTest') cd /Users/wonki/Documents/Project/UsingPythonKitTest/PythonKitTest /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios15.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -L/Users/wonki/Library/Developer/Xcode/Deriv
0
0
904
Dec ’21