Search results for

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

186,330 results found

Post

Replies

Boosts

Views

Activity

Embedded links not clickable in PDFs for iOS devices
I have a SPFx React application where I am printing the HTML page content using the javascript default window.print() functionality. Once I save the page as pdf from the print preview window and open it using Adobe Acrobat, the links(for eg -> Google) within the content are not clickable and appearing as plain text. I have tried to print random pages post searching with any keywords in Google and saved the files as pdfs, but, unfortunately, the links are still not clickable there as well. To check whether it is an Adobe Acrobat issue, I have performed the same print functionality from Android devices and shared the pdf file across the iOS devices and in that case, when opened using Adobe Acrobat, the links are appearing to be clickable. I am wondering whether it is something related to how the default print functionality works for iPadOS and iOS devices. Any insights on this would be really helpful. Thanks!!! Note: The links are clickable for MacOS as w
2
0
140
May ’25
Both ios-arm64-simulator and ios-x86_64-simulator represent two equivalent library definitions
Seeing these when trying to create an xcframework for Apple Silicon that supports Mac Catalyst and the iOS Simulator: Both ios-arm64-simulator and ios-x86_64-simulator represent two equivalent library definitions. Both ios-arm64-maccatalyst and ios-x86_64-maccatalyst represent two equivalent library definitions. Here's the command: xcodebuild -create-xcframework tt-framework ./xcframework-build/catalyst-x86_64/opencv2.framework tt-framework ./xcframework-build/catalyst-arm64/opencv2.framework tt-framework ./xcframework-build/osx-x86_64/opencv2.framework tt-framework ./xcframework-build/osx-arm64/opencv2.framework tt-framework ./xcframework-build/iphonesimulator-arm64/opencv2.framework tt-framework ./xcframework-build/iphonesimulator-x86_64/opencv2.framework tt-framework
13
0
32k
Nov ’20
Reply to Framework not found error when building for Generic iOS, the build works just fine when you target iPhone 11 or iPad
The other possibility is that when you selecting iPhone 11 Pro, you are targeting iPhone 11 Pro simulator (it is in iOS Simulator section). Generic iOS device is building for all iOS devices (all supported architecture, all supported assets, etc.). The problem is either that you have different project configuration on simulator platform or you only have simulator framework in the framework search path but not the iOS version.
Jun ’20
Reply to Embedding an xcframework in another xcframework.
@enkkashley I'm building a framework that has some third party dependencies. I was provided two sets of dependency framework files, one for iOS simulator (x86_64, arm64) and one for iOS (arm64). Following Apple's documentation for building an xcframework, I made an archive for each of these, with their respective dependency framework files, then made the xcframework. Now when I use the xcframework in my project, it works great for both iOS devices and simulator, but when I try to deploy to testflight I get an error saying: Invalid Bundle. The bundle at ... contains disallowed nested bundles How can I build my framework in a way that is universal, but also doesn't contain nested bundles, keeping in mind I have 2 sets of dependency frameworks for different platforms/architectures? I detailed this issue further in this thread: https://forums.developer.apple.com/forums/thread/761604
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’24
Localization not working when used in embeded framework
To support Action extension, have created an embedded framework so that all common code can be there. Have moved Localizable.strings to embedded framework so that have single locazaiton file for both app and extension. But when tested I only see english (development langage ) being used. I am using following call.NSLocalizedString(key, bundle: <bundle>, comment: <comment>)
7
0
14k
Jun ’16
Shared iOS Framework library dynamically calling a symbol only referenced in the built executable App
I have a Framework built as a shared Framework from a collection of static libraries. Let's call it Framework A. I have a built iOS application that contains symbols B, and C. Framework A is built calling references to function B and class C, with -Wl,-flatnamespace,-undefined,dynamiclookup as linking flags. The built iOS application crashes: dyld: Symbol not found: OBJCCLASS$MyClassC Expected in: flat namespace The iOS application contains MyClassC and an objdump -t shows this. Both the framework and iOS app are built with -flat_namespace. Is this possible to resolve without moving objects B and C into the framework? When built as a static library prior to conversion, the framework has no issues.
0
0
500
Nov ’20
Embedded framework objc/swift interoperability
Hi all, I'm having the following issue with objc/swift interoperability and I'm hoping you can help me out, I'm trying to use a swift class from a framework, in my app target, however they're not in the same project, the framework is built and then added to the other project manually. So I have a huge project (InStore), that has three targets, two frameworks (InStoreCore, InStoreML) and an App Target (this is the test app for the frameworks). InStoreML has a dependency to InStoreCore, both of which have swift AND objc code. If I try to use a swift class (ISAppBehaviour) from obj in the test app target of that project, it all works just fine, for simplicity's sake I'll put an example. #import /*...*/ @implementation ISExampleViewController (void)viewDidLoad { [ISAppBehaviour class]; } /*...*/ @end That compiles just fine, I am able to reference the swift class (ISAppBehaviour) from objc in the app target. The issue comes when I try to use those frameworks
1
0
687
Sep ’20
failing to load custom class from embedded framework
I'm starting with a working app, and trying to encapsulate as much functionality as possible into an embedded framework. Everything in the embedded framework is Obj-C or C, and the new 'skeleton' project is Obj-C.I believe I'm building my framework so that it defines a Module with a particular name.I've used nm against the framework contents and believe my custom class is implemented in there, the symbols weren't stripped out.The umbrella header for the framework specifies ALL of the headers that used to go into the working app target, even AppDelegate.h.I believe I've updated my Storyboards so that the Module field for each custom view controller specifies the Module name, and have inspected Main.storyboard to confirm that my intended custom class name and module name are reflected in the XML source.At runtime, I get a variant of unknown class in interface builder file. Unknown class _TtC8<moduleName>25<customClassName> in In
3
0
2.9k
Jul ’16
Reply to Custom Frameworks don't work with Swift 3
It's not clear what you mean by A + B. Also, it's not clear whether you try to add addtional frameworks targets to the project, or additional frameworks subprojects to the project, or additional frameworks references to the project.Are all 3 frameworks embedded? In that case, the B target should link against A, the C target should link against B, and the app target should embed A, B and C.The other, unrelated, possibility is that when you updated the project from Xcode 7 to 8, build settings got changed in such a way that the frameworks ended up with conflicting names. Look in the build settings for anything inappropriate in the bundle identifiers, module names, and product names.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’16
Reply to iPad attempting to import Journaling Suggestions
You need to weak link to the framework. To do this: In your app’s target editor, switch to the General tab and add the Journaling Suggestions framework to the Frameworks, Libraries, and Embedded Content list. Switch to the Build Phases tab and, in the Link Binary with Libraries phase, switch the Status popup to Optional. This shouldn’t be this painful, and we have a bug on file about that (r. 121326851). Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24
iOS Release Build Crash (Debug on Simulator is good)
Greetings all, I have a crash report but I cannot figure out what is causing the crash. When I do a debug build on simulator, it is all good. When I make a release build and install on device, it crashes as soon as the mobile app opens. I am using React Native 0.73.2 if that helps at all. Any help understading this crash report is appreciated. Flex-2024-01-31-092208.txt
0
0
633
Jan ’24
Reply to Embedded Frameworks within a Message Extension App causing TestFlight submission Errors
KevinSS and pdm,We've got the same issue. The MessageExtension doesn't allow to embed frameworks, so as a workaround we had to create a real main app that is used to embed the frameworks that the MessageExtension uses. Not ideal since we'd prefer to remain an iMessage app only. I sure hope this gets fixed.A misleading debuging step is that the MessageExtension with Linked frameworks works fine on the simulator. No main iOS host app required (aside from the app container). When we debug on the device, the device saysdyld: Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: /private/var/containers/Bundle/Application/XXXXXX/PlugIns/MessagesExtension.appex/MessagesExtension Reason: image not foundThe only way we've been able to get around this is by adding all the framework source to the MessageExtension (not great), or embedding the frameworks in an iOS app that also embeds the MessageExtension which d
Topic: App & System Services SubTopic: General Tags:
Aug ’16
Linker Can't Find Symbols for a framework that is embedded in another framework
I have a framework that links another framework (my framework has classes that wrap some things in a third party framework).If any class in my main app tries to use a class from the framework inside another framework, the linker fails with undefined symbols. But everything public in the framework inside of the framework should be public.Any ideas how I can resolve this?Thanks
2
0
2.0k
Feb ’16
Reply to Xcode 11.4 : Building for iOS Simulator but the linked library was built for Mac OS + iOS
Having x86_64 code is not sufficient to distinguish if a binary is intended for the iOS Simulator, a macOS app, or a Mac Catalyst app. Combing built binaries across different destinations (which includes the simulator vs. device binaries) is not a supported combination -- there is no Apple platform where ARM code and x86_64 code in the same binary is a correct configuration.If this is your library, you should have your app build it from source as a dependency of your Xcode project, either through an Xcode target or through Swift Package Manager, so that the right platform information is included based on the build target.If this is your library but you have a specific reason for it to be pre-compiled, please build it as an XCFramework. XCFrameworks correctly separate out binaries that have the right architectures for the different platforms you target. In addition to instructions on how to build such a XCFramework linked earlier,
Mar ’20