Hello,I would like to build the two frameworks ClippingBezier and PerformanceBezier as universal frameworks for iOS to run on the iOS devices and with the simulator.PerformanceBezier: https://github.com/adamwulf/PerformanceBezierClippingBezier: https://github.com/adamwulf/ClippingBezierFirst I need to create PerformanceBezier. In the Build settings I set Build Active Architecture Only and ONLY_ACTIVE_PLATFORM to NO.When I build the framework I get an error Shell Script Invocation Error:Create universal static library/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool -static /Users/admin/Library/Developer/Xcode/DerivedData/PerformanceBezier-dkiwfkhgbhutcqdugjfaqkvvlbsy/Build/Products/Debug-iphoneos/PerformanceBezier.framework/PerformanceBezier /Users/admin/Library/Developer/Xcode/DerivedData/PerformanceBezier-dkiwfkhgbhutcqdugjfaqkvvlbsy/Build/Products/Debug-iphonesim
Search results for
Building for iOS Simulator, but the linked and embedded framework ‘XX.framework‘ was built for
186,331 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The sample Photos app: https://developer.apple.com/library/prerelease/content/samplecode/UsingPhotosFramework/Introduction/Intro.html that's updated for tvOS runs fine on an actual device but not on a simulator. In fact, I can't get a simple test app that registers/unregisters for PhotoLibrary changes running on a simulator.I'm wondering if this is related to the tvOS simulator not having a Photos.app there by default as is the case for the iOS simulator. Any thoughts?
I am using 'xcodebuild' command to extract the .app file. I can create simulator and device build separately but couldn't create one file which supports both simulator and device using the following command eventhough I specified all the architectures.xcodebuild -sdk iphoneos -target VantivAccept -configuration Debug CONFIGURATION_BUILD_DIR='/Users/vadaikkappan/Desktop/app' -arch arm64,armv7s,armv7
It is often simply not possible to get the library from a third-party vendor fixed. We don't call the library code on simulator, but prior to Xcode 11.4 we at least could build and run everything else. Now we can't do that. We need to be able to link libraries and frameworks on a per-destination basis.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hi! I've been hitting a wall trying to test universal links on the iOS Simulator and/or a real device. I'm using expo EAS dev builds. I'm fairly confident the AASA file config and hosting is done correctly. I have tried both the ?mode=developer and standard. Unfortunately, I can't seem to get past the following error picked up from swcd process in the console app: Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 Failed to get associated domain data from ManagedConfiguration framework. UserInfo={NSDebugDescription=Failed to get associated domain data from ManagedConfiguration framework., Line=298, Function=-[SWCEnterpriseContext(CPMCInterop) _loadEnterpriseData]} This is the same on both the simulator and a device - built using the appropriate EAS build config and Xcode 15. This is on an iOS17 iPhone 15 Simulator, and
I'm building an application for tvOS and would like our QA department to be able to do sanity/smoke tests without necessarily having an Apple TV device. The people in the department can easily get access to Macs with Xcode.I can build and package both device and simulator targets through our build system.What I can't figure out (without a lot of hacking of UUID-named directories) is how to take a simulator build to a different machine and install it on a simulator there.I'm interested in either a mechanism I've missed or scripting tips for how to install the build.
So, I wrote a framework in Swift 3. I've used it successfully as an embedded framework in my projects and will continue to do so. What I'd also like to do is build a Release version and keep it in my /Library/Frameworks folder so that I can use the import command to import it into future test projects (for internal use only.) How is this done? I've played around with the Deployment setting of my framework project (such as the follwing settings: Installation Directory, Skip Install, Deployment Location, etc.) which, I'm assuming with the proper settings, would build my framework and place a release version into the /Library/Frameworks folder, ready for use. But I can't seem to get it working that way.I have tried Build for Profiling which creates a Release build and then manually copying the built product into the aforementioned folder. But issuing an import MyFramework statement in a new Xcode project d
One part of my app uses CreateML but I still need to test the UI on other screen sizes with the simulator. I tried using this condition but still get the same error. #if os(iOS) import CreateML // CreateML is not available when building for iOS Simulator. Consider using `#if os(iOS)` to conditionally import this framework when building for iOS. #endif
Trying to prepare a single dynamic framework to my customer. My framework (A.framework) uses third-party recognition static framework (B.framework). I can't provide separate A and B frameworks to the customer. Ideally B.framework should be built and included into my A.framework's binary, so the customer's app will only embed A.framework without any additional actions to link with that third-party app.What I did:Added B.framework to the project.Added B.framework to Linked Frameworks and Libraries in the corresponding target.Built A.framework.Created a demo application and included A.framework to the project.Added A.framework to Embedded Binaries.Demo app's build fails with message Missing required module 'B' (despite the fact that it is used in A.framework only).Note:I neither created any modulemap files for B.framework, nor additional run scriptsMaking A.framework static is not acceptable because it includes some resourc
Hi When I run my tests using the Xcode IDE (i.e. test plans) with parallel execution, I can see that my tests are evenly distributed to multiple iOS simulators but the same is not achieved by using the xcodebuild tool using terminal xcodebuild test-without-building -parallel-testing-enabled YES -parallel-testing-worker-count 3 -maximum-parallel-testing-workers 3 -destination platform=iOS Simulator,name=iPhone 13,OS=15.2 -xctestrun /var/folders/x5/ps80s0290qv1j5hn53mvxsf00000gq/T/tmp.QB6StvRC/XCTest-Gherkin-Example_TestPlan1_iphonesimulator15.5-x86_64.xctestrun -resultBundlePath /var/folders/x5/ps80s0290qv1j5hn53mvxsf00000gq/T/tmp.QB6StvRC/GherkinLocal.xcresult
Upon launch of the app and initial app creation, I receive the title referenced error when running the default code. There is no console output and no other errors. Spoke with apple support and they referred me here. Anybody else experience this error?
Thanks eskimo, base on your information, I just need to choose 'Do Not Embed' for the OpenSSL.xcframework in 'Frameworks, Libraries, and Embeded Content' will keep my app run on iPhone / M1 simulator and submit without issue to AppStore Connect.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
Hi, First, I just want to mention I really appreciate you helping me! Thanks a lot.On your question, I tried to removed the derivedcache, it did not work 😟RZUtils is a framework, I build, with all the shared component I want to use accros my different app and projects. It contains a few external packages (FMDatabase and LibComponentLogging). The framework contains both objective c and swift code. When I remove the swift code for the library it then compiles, so the problem is clearly mixing the two. I have build the framework quite a few generation of xcode ago, so the settings went through a few iteration of xcode update settings. GarminConnect is just one example of an app that include that framework and uses it. But all the app have the same problem.I tried to recreate the framework from scratch by re-adding the source code to a fresh new xcode 8.3.2 framework project and it resulted in the same problem (though inverted; could compile
Topic:
Programming Languages
SubTopic:
Swift
Tags:
After updating the Xcode 26, defined universal links are not working in the iOS simulator. In the configuration, we have verified all the things including AASA file hosting and domain configuration. It is working properly in the real devices. Issue occurring only for Simulators. How can I debug it in the simulators to validate this ? Xcode Version: 26.1 Simulator iOS: 26.1
Topic:
Community
SubTopic:
Apple Developers
I'm developing an application, MainProject, that has an embedded framework, EmbeddedFramework (also developed by my team), and I'm incorporating Firebase Crashlytics in order to get crash reports.The crash reporting is working just fine in the base application, I'm getting deofuscated reports that point to the exact line where the crash happened.In the other hand, the crash reporting fails when a crash occurs inside of the embeddedframework. When that happens, all I get is a <compiler generated> or a <specialized> line of code, making it really hard to identify and/or debug.For example, for this instance of a crash report in Firebase: [1]: https://i.stack.imgur.com/ulmPS.pngCrashed: com.apple.main-thread 0 EmbeddedFramework 0x101b38628 $s6EmbeddedFramework0A14AuthenticationC6isIdleSbvg + 114 1 MainProject 0x100d07a94 specialized EntryViewController.clickLogin(sender:) + 884 (:884) 2 MainProject 0x100d035c4 @objc EntryViewController.clickLogin(sender:) + 48 (:48) 3