Unexpected code bundle "Alcatraz.xcplugin" - xcode

I came to know about Alcatraz from Apress book "Troubleshooting Xcode". I'm getting the following warning upon xcode launch after installing Alcatraz.
The “Alcatraz.xcplugin” code bundle is not provided by Apple. Loading
code not provided by Apple can have a negative effect on the safety
and stability of Xcode or related tools.
I've searched for Alcatraz here and many developers seem using it. Just wanted to know whether it's worth using with this warning message?

It is just warning from Apple. No problem with it. If you using Alcatraz you can install alot of plugin very userfull. You can reference to:
Xcode Plugins
Xcode Plusgins NSHipster
You can try it.

Related

Xcode Workspace "Internal error: missingPackageDescriptionModule"

After updating Xcode to version 13.2 i can't build my project anymore. I have a strange error "Internal error: missingPackageDescriptionModule" related to my Workspace file.
It's definitely related to SPM because Xcode is not loading SPM packages also. I tried to "Reset package caches", "Resolve package caches" and also "Updating to latest package caches" but after all of these operating nothing happens. Deleting derived data, cleaning didn't help too...
I tried also to resolve packages from Terminal using xcodebuild -resolvePackageDependencies but I get error message:
--- xcodebuild: WARNING: The directory /Users/ptocicki/Developer/KFC/kfc-ios also contains the legacy project 'project.pbxproj' - ignoring it and using 'KFC.xcodeproj'.
xcodebuild: error: Could not resolve package dependencies:
Internal error: missingPackageDescriptionModule"
Apple is aware of the issue.
We're currently investigating this issue — thank you to those who have
filed bug reports so far. To workaround this issue, please re-download
Xcode 13.2 directly from the Downloads page.
https://developer.apple.com/forums/thread/696504?answerId=698142022#698142022
🎊 Fixed on v13.2.1 and you can download from here
Explaination
This bug is reported and the v13.2.1 AppStore version but As  Apple suggest here, you should download the Xcode manually from the developer center
Manual download of any Apple developer software
✅ The always working and preferred workaround!
Download directly from Apple:
Latest Release version or
Latest Beta version or
Any version you need and all other downloadable contents
Then extract and move it where you like. This has so many benefits compared to AppStore updates. (like the ability to resume download, not replacing the old one, not wasting hidden directories and etc.)
Note that you should use safari to download it.
⚠️ Important note for developers like me!
The page you’re looking for can’t be found.
If you The page you’re looking for can’t be found message, you may need to use a VPN if you are in a country that the US sanctioned like mine. Because Apple is blocking some IP address ranges.
If you’re using Swift packages either standalone or as dependencies in an Xcode project or workspace, the Mac App Store version of Xcode fails during package resolution with the error “Internal error: missingPackageDescriptionModule.” (86435800)
Workaround: Download Xcode 13.2 directly from the Apple Developer website.
I just got the issues late at night after Xcode updated on its own while I was working on my project, which was not a cool surprise. It appears to be affecting all dependencies. You are not alone in this it's affecting everyone. I did what they recommended and downloaded Xcode directly from the Apples developer site and it fixed all my issues super happy right now!!!!!!!
XCode was updated to 13.2.1 at 12/19 which fix the issue.
https://developer.apple.com/documentation/xcode-release-notes/xcode-13_2-release-notes
If you’re using Swift packages either standalone or as dependencies in an Xcode project or workspace, the Mac App Store version of Xcode fails during package resolution with the error “Internal error: missingPackageDescriptionModule.” (86435800)
Workaround: Download Xcode 13.2 directly from the Apple Developer website.
Seems local package still working. So there is a temporary solution: We can download the dependencies then add them to the project as local paclages.
Please update to Xcode 13.2.1.
If not, download Xcode 13.2 from the Apple Developer website.
Updating from Xcode 13.2 to 13.2.1 from App Store fixed the issue for me.

Fatal error: 'QuickTime/QuickTime.h' file not found

I updated my macOS to Sierra, and some of my files vanished. The most important were Allegro's library. I am trying to install it again like the video (https://www.youtube.com/watch?v=UJtmJfWNTJY) which I saw the first time which I installed, but the follow error message has been showing:
'$Users/macbookpro/Downloads/allegro/include/allegro5/platform/alosx.h:43:12: fatal error:
'QuickTime/QuickTime.h' file not found'
#import <QuickTime/QuickTime.h>
I searched for it and I discovered that is just change parameters in Xcode, however, I am not using Xcode to compile my code, although terminal. Any hint?
There are a lot of projects out there experiencing this problem, due to Apple's habit of deprecating commonly used libraries. You are not the only one having this issue. See links below. You could copy paste the deprecated SDK's into Xcode as a workaround. Or edit your code to use AVFoundation.framework instead. See Apple's table on deprecated frameworks.
Xcode 8/macOS 10.12 removed QtKit support
QuickTime/QuickTime.h: file not found
Here is a workaround explained:
Solved: macOS Sierra, Xcode 8, missing quicktime.h

"/Applications/Xcode.app: a sealed resource is missing or invalid" error while validating Xcode installation

Today I got the memo from Apple as probably every other Apple developer about potentially infected Xcode installations. (https://developer.apple.com/news/?id=09222015a)
I followed the instructions and tried to validate my Xcode app using the command mentioned. (spctl --assess --verbose /Applications/Xcode.app) The program ran for a while and exited with a "/Applications/Xcode.app: a sealed resource is missing or invalid" message.
The article says "Any result other than ‘accepted’ or any source other than ‘Mac App Store’, ‘Apple System’ or ‘Apple’ indicates that the application signature is not valid for Xcode." However, I'm actually pretty sure my Xcode copy is legitimate (downloaded and updated via App Store with Gatekeeper enabled) so I thought maybe there could be another problem preventing it to validate as it should.
Do you have any ideas what this error message actually means? Do you think I need to reinstall Xcode just in case?
Thanks in advance for your help.
The false positive validation issue appears to be caused by containing previous iOS SDKs in order to be backwards compatible.
A clean install will completely wipe the SDK directories. When you run the validation test after a clean install it will pass. Once you copy previous iOS versions, which, for us, is iOS 8 for iPhone, the validation will fail.
This scenario was tested after updating to XCode 7.0.1 (7A1001) which was released earlier this afternoon.
In order to avoid a clean install, you can temporarily remove the previous SDK version from their respective location, and run the validation. Then, once the validation passes, copy the files back where they belong.
I was getting the same message "a sealed resource is missing or invalid". However i was able to rectify the issue by going into the App Store and downloading the latest version of Xcode - Version 7.0 (7A220), and this seems to have rectified the issue.
Although i did first try updating Xcode through the updates section on the App Store, but for some reason this didn't work. So i would recommend going into the App Store > Search for Xcode > Then install the latest version available to you.
Depending upon gatekeeper settings.please check gatekeeper settings to allow anywhere and revalidate Xcode.

PhoneGap 2.1.0 iOS Mac Xcode CordovaLib

Trying to get some solid documentation on how to get the iPhone emulator in Xcode running with my PhoneGap 2.1.0 project. I pulled it down from a git repo that I originally built on my Mac Pro, now want to run it on my Mac Air. There is a lot of confusion of the terminologies between PhoneGap and Cordova that make it near impossible for a beginner to figure out how to set up a project.
The problem I'm getting when I open my PhoneGap project in XCode is this error:
Lexical or Preprocessor Issue 'Cordova/CDVViewController.h' file not found
Clearly the Cordova class files aren't being seen by XCode, although I included the path to the CordovaLib classes in Preferences -> Source Trees (~/Documents/CordovaLib/.
Just want to get this thing running! Thanks!
Not sure if this will help you, but I am starting to try to get to grips with PhoneGap/Cordova, and found this excellent guide on getting it going.
It uses Cordova, which I am led to believe is the source of PhoneGap (Still SLightly Confused tbh), hopefully it will help you in one way or another, it certainly got me up and running :)
https://docs.google.com/viewer?a=v&pid=forums&srcid=MDUyNDQxMjA3MzY2NzYzNDU0MjgBMTAxMDE4ODcyODc5Njc4NDQwMzQBOWNxRFF3Z0UyX29KATQBAXYy

Using Apple's coding examples in XCode 4.3.2 - Base SDK Missing

I'm discovering XCode and iOS development.
Delving into the iOS documentation, I've tried to download and run some of the programming examples.
As an example, I'll use AccelerometerGraph.
If I download the code and try to compile, i get an error message, and I realize that the Navigation panel tells me : Base SDK Missing.
After fiddling around (the existing answers on stackoverflow refer to the Xcode 3.2 answer, which doesn't work) I figured I should go to "Editor > Validate Settings…" and accept the changes.
It "seems" to work, (as in the "Missing SDK" message disappears, and I can compile) but I'm wondering if i'm missing something more fundamental.
Also, I thought if there is such a fundamental change, it would be useful to have it up there in one of the questions.
Thx
P.
Go to the project settings and choose "Latest SDK" for the SDK option and that should fix your projects.
And if you want to be super helpful, file a bug with Apple (at http://bugreporter.apple.com) and tell them to update these outdated sample projects to use the latest SDK's if possible.
Not missing something more fundamental. Apple's sample projects have a variety of vintages. Mostly they compile and link under the current versions of Xcode and friends. Some need to be brought up to date. What you found was one that was originally set up for an obsolete version of the SDK and it compiles and links fine with one that was automagically found on your system when you updated it.

Resources