[macOS cocoa]issue of building the project of Mac Catalyst Tutorials - xcode

Mac Catalyst Tutorials is a tutorial from Apple official site. I tried to build the project named Recipes from this website. However, it was built faild and shows "'authorizationStatus(for:)' is only available in Mac Catalyst 14.0 or newer"
I lerned that Mac Catalyst 14.0 means macOS 11.0 from this answer. So I checked this interface but found no version settings about macOS. Then I checked this interface and found the version of macOS is correct. However, I trid again buildiing the project but the issue is still "'authorizationStatus(for:)' is only available in Mac Catalyst 14.0 or newer". Please tell me what's the reason and how to deal with it.

Related

Visual Studio issue pairing to Mac

Using latest Visual Studio for Windows 17.4.2, connecting to my Mac having Xcode 14.1, I get this message when Pairing to Mac:
The Xcode version installed on the Mac (14.1) is not compatible with
this version of Visual Studio. This may cause unexpected warnings or
errors when building and deploying iOS projects. Please install Xcode
'13.3'. To download a specific version of Xcode, visit:
https://developer.apple.com/downloads.
If I continue, no iOS simulators are available for debugging. And when trying to debug on my iPhone connected by wire the the Mac, I get a compiler error:
fatal error: 'CHIP/CHIP.h' file not found
I have search the web. Only old articles appear from September. I have tried XCode 14.0 still, same issues.
Last resort was downloading XCode 13.4.1 that seems ton works. I can start simulation... Finally!
Is it really true that XCode 14 is yet not supported by Visual Studio?
Please be noted that the final builds of Xcode 14.1 are ready for you to test on Xamarin, but they are not included in IDE (it is not supported yet in MAUI), you have to install the pkg files of Xamarin.iOS and Xamarin.Mac to your Mac,refer to Xcode 14.1 Support · Issue #16659 · xamarin/xamarin-macios.
Is it really true that XCode 14 is yet not supported by Visual Studio?
Xcode 14 is supported, and it is recommended that you use Xcode 14.0 for now. The Xcode version in AppStore is Xcode14.1 currently, you can download Xcode 14.0 from the downloads page in the Apple Developer Portal.

How do I fix this compile error for my eye writer project

I am trying to recreate the EyeWriter 2.0 project from instructables.I have downloaded everything needed but when compiling comes I got this error.I downloaded that version of sdk on that specific place and i still got the same error.
error: unable to find sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.5.sdk' (in target 'RemoteEyeTracker')
Can someone explain to me what means in target RemoteEyeTracker?
The error message is telling you Xcode cannot find the Mac 10.5 SDK in Xcode's app bundle. I doubt recent versions of Xcode have good support for the 10.5 SDK since it shipped with Xcode 3, whose first release was in 2007. You will probably have to build your project with a newer version of the Mac SDK. Updating a project that was built for Mac OS X 10.5 to recent versions of macOS is going to be a lot of work.

Android Studio 3.0.1 for Mac not opening/installing SDK

I've downloaded Android Studio 3.0.1 for Mac and as I started it, it showed the splash screen for loading but did nothing else relevant (in the case, means showing the menu for starting/opening/importing projects).
After some research, I found that I could bypass this screen if I change the idea.properties and put on the following line:
disable.android.first.run=true
After that I can now reach the SDK Manager window, but no SDK update sites, platforms or tools shows up.
I'm running macOS X High Sierra 10.13.2.
Can anyone help me on installing the SDK tools and platforms?
Edit:
SDK Platform Screenshot
SDK Tools Screenshot
SDK Update Sites Screenshot
Uninstall and install it again. It should have downloaded the Android SDK components while installing but it doesn't seem to be the case. Make sure your connected to the internet during the installation, and once the installation is completed, ensure that they have been downloaded by checking the default Android SDK location on MacOS. Then try opening Android Studio without needing to change any config.
By the time this question was made, there was no solution.
The OS requirements were Mac OS High Sierra up to 10.12. There was no Android Studio for Mac OS 10.13.
Currently there is a version that supports Mac OS 10.13.
edit: also, I found out that permission problems may cause unexpected behavior of some apps (Visual Studio Code also broke). After the permissions check, the software worked like a charm.

XCode5 says missing SDK 10.7, but I only refer to 10.8

I just installed OS X 10.8 and XCode 5 and I am trying to build a project. I changed the base SDK and Deployment target both to 10.8 and I get this error.
I can't find any reference to 10.7 in my settings, any ideas?
Xcode typically only ships with one SDK for each platform (e.g. Xcode 5 supports iOS 7 & MacOS 10.9 SDK; and at this precise moment it also has MacOS 10.8's SDK built in but probably not for much longer), so in my own settings I typically refer to "Latest SDK" (whichever is shipping with the installed version of Xcode).
And then you can reset "minimum deployment version" in your project settings to be the actual minimum MacOS version (10.5, 10.6, 10.7) you want to run on.
Now, if you do NOT see references to "10.7" in your settings, you may need to actually look at the raw XML of your "project.pbxproj" which resides within your Xcode project. You can look at it in a text editor and see if it's referring to 10.7 anywhere unexpected within it.

Xcode: how to install the iOS documentation in Xcode?

I currently have Xcode 3.2.3 installed (sans iOS SDK). It seems to have automatically downloaded for me the (OSX) Cocoa dev library -- but not iOS (UIKit) documentation.
In Xcode preferences, I see "documentation set" options for "Mac OSX 10.6 Core Library" and "Xcode 3.2 Developer Tools Library" (both already downloaded) -- plus some Java etc. documentation. But nothing about iPhone/iOS/UIKit.
After actually installing the iOS SDK, will there be a new option for an iOS documentation set in Xcode preferences? Or do I have to do something manually?
The Documentation for iOS is no longer a part of SDK - looks like you need to install from preferences of XCode - click get next to install it
Click on preferences
Click on the 'Documentation
'Get' the iOS documentation
The documentation is part of the SDK. Once you install the iOS SDK you should then see the documentation show up (and unfortunately take priority in searches showing up first even when you only have Mac OS projects open).

Resources