XCode 9.2 'shared_timed_mutex' is unavailable: introduced in macOS 10.12 - mutex

I don't normally post on here but this is driving me nuts. I'm running Mac OS 10.13.3 with XCode 9.2 which is giving the error "'shared_timed_mutex' is unavailable: introduced in macOS 10.12". Does anyone know the reason for this?

change your deployment target from 10.11 to 10.12 or 10.13 will allow you to use 10.12 functionalities. The Xcode error message should make it clear how you can fix it

Related

App crashes on iPhone 6, iOS 12.5 while testing in device using Xcode 13.2

Console:
dyld: Symbol not found: ___chkstk_darwin
Referenced from: /private/var/containers/Bundle/Application/6A606806-B567-4237-9B63-561126BF5E96/Appname.app/Frameworks/libswift_Concurrency.dylib (which was built for iOS 13.0)
Expected in: /usr/lib/libSystem.B.dylib
in /private/var/containers/Bundle/Application/6A606806-B567-4237-9B63-561126BF5E96/Appname.app/Frameworks/libswift_Concurrency.dylib
the app is running smoothly in the simulator with iOS 12.4
I tried making libswift_Concurrency.dbt optional. It did not stop the app from crashing.
I encountered the same issue today, the issue was weird because everything just worked well before today. After some checks, I found that my system automatically updated Xcode from 13.1 to 13.2 last night. The Xcode 13.2 Release Notes shows that Xcode 13.2 has a compiler issue about libswift_Concurrency.dylib library, and it provides a Workaround method to resolve, but I found out the method doesn't work for me after I tried it.
I still don't know the reason which causes this issue, but I did make my project run on my iphone6 again by rollback Xcode to the version of 13.1 .
If your issue also caused by the update of Xcode, you can try this method. Download here: Xcode13.1
For iOS 12-12.5: use Xcode 13.1 and update your Pods (i.e. last versions for Realm) (bitcode is enabled by default). Xcode 13.2.1 still crashes on device with iOS 12 but runs fine on simulator.
You probably installed Xcode 13.2 from the App Store. Don't. There are bugs in that version. Go to developer.Apple.com and download Xcode directly from there.
Xcode 13.2.1 claims it resolves this issue (see the release notes) - in fact the issue presists.
Douglas Gregor confirmed that Xcode 13.3 beta 1 fixes the issue.
Personally, I'll use Xcode 13.1 and then use Xcode 13.3 when the final release comes out.

Is it possible to use Xcode 11.5 on the latest macOS Big Sur?

I am following Stanfords' CS193p Developing Apps for iOS online course.
I am using Xcode 11.5. I didn't update because that's the version the course instructor (Paul Heagarty) is using. I have to have (for now) this Xcode version.
So I didn't yet updated my macOS to Big Sur, because I am afraid, that I will not be able to use Xcode 11.5 on macOS Big Sur.
Is it possible to use Xcode 11.5 on the latest macOS Big Sur?
Or will Xcode 11.5 it just stop working if I will update to Big Sur?
I have an Intel-based Mac. (not M1 Apple Silicon)
And also - can I have both the Xcode 11.5 & the latest Xcode 12.x version at the same time?
Xcode 11.5 is not officially supported on Big Sur so 11.5 is not guaranteed to run on Big Sur, but you should be able to use 11.5 on Big Sur.
You can have multiple versions of Xcode installed. If you install Xcode from the App Store, make sure you change the name of your Xcode 11.5 install from Xcode to something else, such as Xcode11.5. If you don't change the name of your existing Xcode installation, the new version of Xcode will overwrite the existing version.
Xcode 12.4 runs on Catalina so you can have both Xcode 11.5 and 12.4 installed without having to install Big Sur.

How can i use IOS10.3.1 devices on my Xcode 8.3 without updating MacOs or Updating Xcode

I bought new iphone 6 running iOS 10.3.1 (14E304), and while connecting with Xcode and running my code on this device and its saying this device is not supporting by this xcode.
Can anyone suggest me how can i run my iOS device(10.3.1) with Xcode (8.2.1)
Appreciate all answers.
I develop with Unity for iOS and have the same problem. Looks like you need to install macOS Sierra ( 10.12 or later ) to install a newer XCode ( 8.3+ ) version.

Issue faced on IOS6

I have recently updated with ios6. After that when I am connecting my device Xcode is not finding it, and it is saying like mismatch in version, I am using Mac 10.7.3. Can I use the same version to debug on device? Any idea ???
thanks
You updated your device but not Xcode, to use your iOS 6.0 device for development with Xcode, you require Xcode 4.5, you should check on the Mac App Store and update your Xcode.
Xcode 4.5 will run on both Lion and Mountain Lion. However, on Lion you will also be able to make use of the iOS 4.3 simulator, whereas on Mountain Lion you can't... Just good to know.

upgrading Xcode 4.0.1 to 4.1 giving compilation error for iPhone sdk

I have new changed the Snow leopard with Lion OS x and Xcode 4.0.1 with 4.1. The iPhone code was working fine on Xcode 4.0.1. Now in Xcode 4.1 it giving errors mostly related to LLVM GCC 4.2. I have tried with changing the compiler's different options available. Can body know the issue and help me out of this.
I think you want to change the compiler version on the target and double click it then you have to change it from there.Try it,i may solve your problem.
http://useyourloaf.com/blog/2011/3/21/compiler-options-in-xcode-gcc-or-llvm.html
check this url
I know that when I upgraded to Lion and Xcode 4.1, the update via App Store removed iOS SDK 4.0, 4.1 and 4.2, leaving only 4.3.
This gave me compile errors because my base SDK was 4.0, it required the 4.0 SDK files to compile, I was lucky enough to have everything backed up and I copied my SDKs back over to Lion into
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
This was the only issue I had with the upgrade, hope this helps.