Search results for

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

186,361 results found

Post

Replies

Boosts

Views

Activity

iOS Push to Talk Framework Not Working in Archive Build (Flutter)
I have developed an app using Flutter that utilizes the Push to Talk framework on iOS. The Push to Talk feature works perfectly in debug mode, but after archiving the build and installing it on an iOS 17 device, the Push to Talk functionality stops working. Here are the steps I have already taken: Enabled background modes. Enabled Push to Talk capabilities. Despite these settings, the issue persists in the archive build. Has anyone else encountered this issue? What additional steps or configurations are required to get Push to Talk working in the archive build on iOS 17? Any help or guidance would be greatly appreciated. Thank you!
1
0
897
Jun ’24
Reply to Crash When Run app On Xcode15 Simulator
I had the same issue in my project when running the app on iOS 17 Device/Simulator. Reason is UIGraphicsBeginImageContext is depreciated with Xcode 15.0 and Later versions. So, I was find the all UIGraphicsBeginImageContext in my App and framework and COMMENTED. After that, Clean all builds (App and FW) and regenerate both. Finally, reinstall. Hopefully this will fix the issue. It's works for me.
Feb ’24
Reply to GCMotion/GCMicroGamePad in simulator?
I've developed an open-source framework that is designed to make it easy to create an iOS-based game controller that appears as a hardware-based controller: https://github.com/robreuss/VirtualGameController You can use the sample controller app to send motion input to the simulator, or easily build your own software-based controller with motion support.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’15
Framework using SwiftUI built with Xcode 16 fails is unusable with Xcode 15
I am unable to use a framework that uses SwiftUI, built with the Xcode 16 release candidate, in Xcode 15.4. Attempting to build an app that uses the pre-built framework results in Cannot find type 'SwiftUICore' in scope errors in the framework's private swift interface (.private.swiftinterface) file. For example error: cannot find type 'SwiftUICore' in scope @_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View { ^~~~~~~~~~~ The problem is reproducible by creating a new framework project in Xcode 16, adding SwiftUI code to it, adjusting the deployment target, building the framework, then creating a new app project in Xcode 15.4, adding the framework to it, and attempting to build. In my test framework, I added the following type: public struct BoldText: View { let string: String public init(_ string: String) { self.string = string } public var body: some View { Text(string).bold
2
0
1.3k
Sep ’24
build to simulator works, to device 21 or 23 errors
Yesterday everything was fine. Could build blank templates to the device, no problem. Today, any attempt to build anything like a blank template to the device creates more than 21 errors. Looking like this:Cannot find interface declaration...Cannot declare variable inside @interfaceUknown type name UIGestureRecognizer...And a raft of other seemingly weird things that shouldn't happen. All in .h files that should be part and parcel of building to the device.As I say, building to a simulator has no such problems. Works fine, even with my terrible coding.
1
0
312
Sep ’16
Reply to Swift Package Manager for pre-iOS 13
Per some of your questions, according to discussion on the swift.org forums, SPM does not currently support pre-built binary xcframeworks, nor any binary distribution... not even resources. You might want to clarify your questions, as you may be referring to SPM building of an xcframework from source, vs. distribution of a pre-built xcframework binary via SPM.If you visit swift . org's forums and search for xcframework, you'll find a pitch for adding support for binary frameworks to SPM.Also, Google's Firebase team looked into supporting SPM for their frameworks and came up with a fascinating list of roadblocks. See their firebase-ios-sdk on github, issue# 3136.I too wonder if an xcframework can be used in an app with deploy target before iOS 13.I've successfully used SPM in Xcode 11 beta 5 to create Realm and RealmSwift (3.17.3), and I noticed that the resulting embeds into my app target just say Realm and RealmSwift, with no extension, and with
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’19
iOS Upgrade Test in the simulator.
Hello, we have an issue that occurs only when updating devices OS from iOS 9 to iOS 10. Since we run out of all of our devices that were on iOS 9 and apple stopped signing iOS 9.3.5, we are no longer able to downgrade our testing devices back to iOS 9 for further testing purposes. We would like to ask following: Is there any way to test iOS system upgrade in the simulator?I was able to simulate it partially by copying files from iOS 9 simulator to a simulator with iOS 10, and then running the application, but was not able to complete this process yet due to some files missing on the iOS 10 simulator. I am still working on this solution.Is there still a way to downgrade back to iOS 9 for non-jailbroken devices?Thank you very much for your suggestions. Best,Matti
2
0
1.7k
Nov ’16
Pasting into iOS 11 Simulator?
On iOS 10.x and earlier I could paste into the simulator by doing cmd-v, then cmd-shift-v. I confirmed this works in Xcode9, using the iOS 10.3.1 simulator. However, I can't get it to paste into an iOS11 simulator (regardless of device type). Did that functionality change somehow? I use it regularly...hoping it is just a command I don't know about!
2
0
10k
Sep ’17
[For simulator] How to build Swift packages as x86_64 in Xcode and M1 mac (Apple silicon) without using rosetta
On M1 mac (Apple Silicon chips), Xcode runs on arm64. How can we build the packages as x86_64 in SwiftPM that integrates with Xcode? Xcode builds the target as arm64 for simulator unless specifying excluded archs option. In some cases, the project would be forced to use x86_64 for simulator build since using external prebuilt frameworks only have arm64 for the device and x86_64 for the simulator. with specifying EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64 However, I could not find a way to specify that in the packages managed by SwiftPM. From this, Xcode builds packages as arm64 then builds application target as x86_64, linking phase would fail with not found modules in the arch. What can we do when we are forced to use still x86_64 on M1 mac?
7
0
7.2k
Jan ’22
Built app crashes on Open, works on Simulator
This is the crash log from device Last Exception Backtrace: 0 CoreFoundation 0x1da0cc288 __exceptionPreprocess + 220 1 libobjc.A.dylib 0x1f2dfb744 objc_exception_throw + 60 2 celsius 0x1030e4a18 RCTFormatError + 2378264 (RCTAssert.m:166) 3 celsius 0x102f002b4 +[CodePush ensureBinaryBundleExists] + 393908 (CodePush.m:370) 4 celsius 0x102eff79c +[CodePush bundleURLForResource:withExtension:subdirectory:bundle:] + 391068 (CodePush.m:159) 5 celsius 0x1030e6dd8 -[RCTBridge setUp] + 2387416 (RCTBridge.m:344) 6 celsius 0x1030e6620 -[RCTBridge initWithDelegate:bundleURL:moduleProvider:launchOptions:] + 2385440 (RCTBridge.m:212) 7 celsius 0x102ea5ff8 -[AppDelegate application:didFinishLaunchingWithOptions:] + 24568 (AppDelegate.m:38) 8 UIKitCore 0x1dc7d6a44 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 340 9 UIKitCore 0x1dc9bda78 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3572 10 UIKitCore 0x1dc9a6678 -[UIApplication _runWithM
2
0
647
Aug ’23
Metal debugging on iOS simulator
Wondering is Metal debugging not supported with iOS simulator? When running a Metal app with Xcode on a real iOS device, by clicking on the camera icon on the debugger toolbar, the Metal debugger (a.k.a. Frame Capture Debugger) appears on screen for further investigation of issues with Metal shaders. That works with real iOS devices: https://developer.apple.com/documentation/metal/shader_authoring/developing_and_debugging_metal_shaders However when running the same Metal app with iOS simulator, the camera icon is grayed out, hence Metal debugger is unavailable for some reason. So is this simply not supported by the simulator or has there something else to be set up?
0
0
1.3k
Nov ’20
There is no way to test iOS 17-compatible app in a simulator?
The only iOS 17 target available in Xcode 16.2's build settings appears to be iOS 17.6. But there are no simulators (at least that I can find) with anything beyond iOS 17.5. Therefore you can't test on iOS 17 with a simulator, because none will show as a deployment target. What is the expected course of action here? I'm sure there are many cases where developers need to test on iOS 17, but in mine I need to test the new framework for accessing a user's contacts; it has changed significantly, and I need to make sure it degrades gracefully on iOS 17. I'm not inclined to make my application inaccessible to 20% of the user base.
2
0
430
Feb ’25
Reply to iOS 15 Gap between navigation bar and table view
Managed to recreate the issue in a test project and noticed that the problem might be when the app is using a network call. Using AFNetworking framework to make REST calls. I am using the Xcode 13 beta 2 and running the app on iOS 15 on the simulator. Link to Github Repo Will provide an image as well, the section header should only be 30 pt/px but it's clearly not.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’21