iOS 10 runtime missing - ios10

I have the latest Xcode 8 beta 6 but I do not see any iOS 10 simulators. When I try to add one, I do not have the option to select iOS 10:
I tried removing and re-installing XCode 8 but it does not help.
The content of /Library/Developer/CoreSimulator/Profiles/Runtimes/ does indeed not show the iOS 10 runtime
ll /Library/Developer/CoreSimulator/Profiles/Runtimes/
drwxr-xr-x# 4 root wheel 136 May 5 08:53 iOS 7.1.simruntime
drwxrwxr-t 3 root admin 102 Aug 22 13:51 iOS 8.4.simruntime
drwxrwxr-t 3 root admin 102 Jul 12 08:30 iOS 9.3.simruntime

I was facing the same issue:
Basically iPhone 4S doesn't support iOS 10. Its architecture is unsupported.
So you can select any device from iPhone 5 onwards.
Please find screenshots below for reference:
iPhone 4S &
iPhone 6S
Cheers!

Related

How can i connect android 11 and and android 12 with bluetooth in ionic?

If I declare in the "AndroidManifest.xml" the permissions for Android 12+, when scanning it does not find those that are Android 11 or lower. I have the same problem the other way around.
I tried declaring in the AndroidManifest.xml the user permissions to be compatible with Android 12 or higher and it does not find the ones that are Android 11 or lower. I also tried declaring for Android 11 and it does not find those that are Android 12 or higher.
enter image description here
Here I declared to allow the two variants depending on which sdk the device has.
I'm using the following library -> text
Capacitor 7.5 and Ionic 6

Is there any solution for this error 402620388 message?

I have searched 100s of things but not even one worked for me i deintegrate pods and reinstall it, delete data from derived data, clean xcode project , legacy settings but not worked for me. Please can you help me out there ?
Details
Unable to install "WWCD"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
--
No code signature found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE800801C)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001236ac81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001236edf70 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010a827385 DVTInvokeWithStrongOwnership + 73
3 DTDeviceKitBase 0x00000001236edca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
4 IDEiOSSupportCore 0x0000000123564e91 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4165
5 DVTFoundation 0x000000010a95aa10 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010a95c652 __DVTDispatchAsync_block_invoke + 1194
7 libdispatch.dylib 0x00007fff6a4906c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff6a491658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff6a496c44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff6a4975d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff6a4a0c09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff6a6eba3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff6a6eab77 start_wqthread + 15
);
}
--
System Information
macOS Version 10.15.4 (Build 19E266)
Xcode 11.4 (16134)
WORK AROUND TO:
Unable to install "app"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
Apparently this is a known (SR-13343) in Xcode 12. It has to do with "SwiftPM binaryTarget dependency and code signing", where Xcode fails to sign the frameworks that are provided by SwiftPM.
See this link: https://forums.swift.org/t/swiftpm-binarytarget-dependency-and-code-signing/38953
If you read thru you will find a link to the work around, by adding a script to the build phase of the target:
Work Around: https://pspdfkit.com/guides/ios/current/knowledge-base/library-not-found-swiftpm/
I just added the script to my app, everything is now good!
For my case using Xcode 13
Remove all frameworks reference
Clear build folder
Clear DerivedData folder
Add back all the frameworks
Then it works.
This error happened to me when my flutter version (stable) did not yet work well with the latest XCode version (11.4). I deleted the /android and /ios folders, ran flutter create . from my app folder to recreate them. Then I used Git to restore my modifications to the folders.
My project was in an early stage so this was a very quick fix. This may vary if you have a project with more modifications inside ios / android folders.
Same happened to me on new Xcode 12. Finally I realised that I included wrong target of the third-party library trough Swift Package Manager.
So I suggest to check third-party libs included in your project, because there can be easily something wrong with signing.

Flutter Run - lost connection to device (Simulator iPhone 11 Pro Max)

everytime I intend run a project on the IOS simulator I have a message "Lost connection to device". It previously worked fine, i don't remember exactly to interfere in some way with Xcode or something. Everything OK on flutter doctor though...
The report I receive is:
Mariuss-MacBook-Pro:my_repository-15.10 mariuspruna$ flutter run -d D79DA193-4A54-4D3F-B029-E42F046EEFAF
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
├─Assembling Flutter resources... 13.8s
└─Compiling, linking and signing... 15.6s
Xcode build done. 34.2s
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23b98bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x00007fff503b5b20 objc_exception_throw + 48
2 CoreFoundation 0x00007fff23b98958 +[NSException raise:format:arguments:] + 88
3 Foundation 0x00007fff255eb6f5 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
4 UIKitCore 0x00007fff47163f36 -[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:] + 255
5 UIKitCore 0x00007fff471643d9 -[UIApplication statusBar] + 24
6 Foundation <…>
Lost connection to device.
Syncing files to device iPhone 11 Pro Max...
Mariuss-MacBook-Pro:my_repository-15.10 mariuspruna$
Thanks for any suggestions.
The problem for me was a permission error when the app was trying to access user geolocation but in order to first see that error (Android Studio was not helping), I needed to connect my physical iPhone to my laptop using a cable and try to deploy the app there directly from Xcode.
Then after seeing the error on Xcode. Inside the Info.plist file, I add these two lines lo fix it:
<key>NSLocationWhenInUseUsageDescription</key>
<string>This application requires location services to properly work</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>This application requires location services to properly work</string>
Then, the app was successfully deployed in the emulator and my real device.

Xcode says Build is successful, but app is not installed on iPhone

I'm using Xcode 4.3.2 with the deployment target set to 4.1 and the iOS is 4.2.1 on an iPhone 3Gs. Whenever I build and run the application with the iPhone 3Gs as the target, it says "finished running 'app name' on 'iPhone 3Gs'.
I have a provision profile setup for this iPhone 3Gs
I checked organizer, and the circle to the right of the iPhone name is green
I ran the same app on my iPhone 4s with the deployment target set to 4.1 and it installed and runs on my iPhone 4s.
Any ideas as to what might be going on that is not installing the app on the iPhone 3Gs? I even tried searching for the app using spotlight, and nothing came up.
Thanks!
EDIT:
this is what appears in my device console log:
Fri May 18 15:27:39 unknown lockdownd[16] <Error>: 2ff68000 handle_connection: Could not receive USB message #6 from iTunes. Killing connection
Fri May 18 15:27:39 unknown com.apple.mobile.lockdown[16] <Notice>: Could not receive size of message
Fri May 18 15:27:51 unknown MobileStorageMounter[4978] <Notice>: (0x3e7518b8) platform_supports_camera_import: Platform is NOT configured for camera import
Fri May 18 15:28:01 unknown MobileStorageMounter[4978] <Notice>: (0x3e7518b8) idle_timer_callback: Exiting after idle
Make sure you have armv6 and armv7 for your 'Valid Architectures' in Build settings, because the 3Gs won't work on the defaulted armv7 only

iphone app blank in simulator: moved from 3.1.3 to 4.1

I have a 3.1 xcode project that has been running my app just fine under the 3.1.3 version of the OS. I've been testing this app on my iphone 3G ( not running IOS 4 ).
I just copied over the XCode project and files, downloaded the latest XCode 3.2.4 with the 4.1 SDK. When I run my application via the simulator it just comes up blank instead of showing my app. I can see via the NSLog statements that it's actually getting to my initWithFrame() and viewDidLoad() methods but it's like it didn't load the images correctly.
I've tried copying the files back into the xcode project and allowing it to update references. I've also tried using 4.0 and 4.1 of the SDK along with the iphone 4 and iphone simulators under hardware.
I do see some errors from system.log:
Sep 20 21:59:01 s-macbook-pro-17 [0x0-0x18018].com.apple.Xcode[484]: Xcode(484,0x7fff70216c20) malloc: reference count underflow for 0x2019c0a40, break on auto_refcount_underflow_error to debug.
Sep 20 21:59:01 s-macbook-pro-17 Xcode[484]: Xcode(484,0x7fff70216c20) malloc: reference count underflow for 0x2019c0a40, break on auto_refcount_underflow_error to debug.
Sep 20 21:59:03 s-macbook-pro-17 com.apple.launchd.peruser.502[127] (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled): Bug: launchd_core_logic.c:4598 (24108):2
Sep 20 21:59:03 s-macbook-pro-17 com.apple.launchd.peruser.502[127] (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled): Path monitoring failed on "/Users/m/Library/Application Support/iPhone Simulator/4.1/Library/ConfigurationProfiles/profiledRunning": No such file or directory
Sep 20 21:59:03 s-macbook-pro-17 com.apple.launchd.peruser.502[127] (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled): Bug: launchd_core_logic.c:4598 (24108):2
Sep 20 21:59:03 s-macbook-pro-17 com.apple.launchd.peruser.502[127] (com.apple.iPhoneSimulator:com.apple.managedconfiguration.profiled): Path monitoring failed on "/Users/m/Library/Application Support/iPhone Simulator/4.1/Library/ConfigurationProfiles/MCOutstandingNagComputation": No such file or directory
Sep 20 21:59:03 s-macbook-pro-17 com.apple.launchd.peruser.502[127] (com.apple.iPhoneSimulator:com.apple.managedconfiguration.mdmd): Bug: launchd_core_logic.c:4598 (24108):2
Sep 20 21:59:03 s-macbook-pro-17 com.apple.launchd.peruser.502[127] (com.apple.iPhoneSimulator:com.apple.managedconfiguration.mdmd): Path monitoring failed on "/Users/m/Library/Application Support/iPhone Simulator/4.1/Library/ConfigurationProfiles/MDMOutstandingActivities.plist": No such file or directory
Sep 20 21:59:03 s-macbook-pro-17 vot[929]: ******** AX INSPECTOR MODE ************
Sep 20 21:59:03 s-macbook-pro-17 vot[929]: **** Running VoiceOver Lite ****
Sep 20 21:59:06 s-macbook-pro-17 app[935]: MainView alloc
Sep 20 21:59:06 s-macbook-pro-17 app[935]: MainView alloc complete
Sep 20 21:59:06 s-macbook-pro-17 app[935]: loadView complete
I set the "Visible at launch" property on the main window via interface builder. I didn't have this set in my xcode project on my other macbook pro when using XCode 3.1.
I came across this thread that helped me:
iPhone SDK4.0 and xcode 3.2.3 issue
Similar situation in my app, but my problem was that somehow, in the MainWindow.xib in IB, the File Owner's delegate was no longer linked up to my app delegate (right click on File Owner in IB and check the delegate button). Was working in Ipad simulator because I have 2 different MainWindow xib files, one for iphone/ipod and one for ipad.
Hope this helps someone experiencing a blank screen on startup.