Post

Replies

Boosts

Views

Activity

Reply to Xcode 13.4 New project "command line tool" cannot run because of missing entitlements
Again, thanks for clarification regarding command-line tools :) 1 .I always prefer convenience over security. The most secure computer is the one that is not connected to network so the line must be put somewhere. If Apple e.g for sake of security force password change to AppStore account once per week, people stop using AppStore at all because it will simply be too much hassle. Security can be seen in relative terms like in this MusicKit thing. Apple Music API has many flaws and this is definitely one of them. But thanks for trying to help me deal with this issues :) Also from environmental point of view it's not good for Earth when various companies will try to produce their own processors using elements that are less and less found on our planet, so Intel is the way to go, that's why Mac Pro exists :) I was happy when Apple abandoned Motorola for Intel and would be even more happy if Apple hadn't abandoned NVidia as well. M1 on laptops bring macbooks more to iPads and desktop OS should never be sandboxed closed environment that's why for my daily work I still use Mojave :) with Monterey in virtual. I'm professional and I know what I am doing,working on computer for over 30 years. If user must be protected all the time than maybe buying laptop is not for him :) But that's whole other discussion not for this thread. As Eskimo you could bring some ice to Poland, it's too hot here to work ^^
Aug ’22
Reply to Xcode 13.4 New project "command line tool" cannot run because of missing entitlements
Thank for detailed explanation. It looks that whole security thing really makes creating things on Mac much more difficult, is that not overkill? If writing command-line-tools in Swift is I'm guessing from your post impossible without creating "App" maybe it's better to remove that target from Xcode configuration options? I will try to explore your solution and let you know. Also if this is as you mentioned not a problem on iOS what is the behaviour if the app is build also as "Mac-Catalyst"? Big big thank you as you are the only one in whole internet who understood my problem :) Ad 3) One more reason to like Intel more than M1 :)
Aug ’22
Reply to Xcode 13.4 New project "command line tool" cannot run because of missing entitlements
Sorry for the confusion english is not my native language. So to summarize: I am targeting MacOS I am going to create command line tool or if this is necessary to work, an *.app that install command line tool Purpose for tool is to use MusicKit and do command line tool to manipulate and play e.g. radio stations. Exact error message is: 2022-08-10 19:14:33.815824+0200 ConMusic[1450:15512] [DataRequesting] Failed retrieving MusicKit tokens: Error Domain=ICErrorDomain Code=-7009 "Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the "com.apple.application-identifier" entitlement." UserInfo={NSDebugDescription=Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the "com.apple.application-identifier" entitlement.}. Throwing .permissionDenied. 2022-08-10 19:14:33.816024+0200 ConMusic[1450:15512] [DataRequesting] Failed retrieving tokens for MusicDataRequest.Context(url: https://api.music.apple.com/v1/catalog/us/artists/1264549322). Error = .permissionDenied. .permissionDenied So apparently even if authorised there is problem with fetching music user token because of bundle identifier. But I don't see anywhere in a project place to write entitlements, no info.plist file and no entitlement file. Is that more clear now? :)
Aug ’22
Reply to Entitlement issues with network extension
Lucky, people I am struggling over 1,5 year with code signing not working for not-paying dev accounts (and even Apple support cannot help maybe they are afraid to admt they no longer allow testing app od device for non-paid accounts). That being said on Monterey I always see during run Failed retrieving MusicKit tokens: Error Domain=ICErrorDomain Code=-7009 "Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the "com.apple.application-identifier" entitlement." UserInfo={NSDebugDescription=Failed to retrieve bundle identifier of the requesting application. The requesting application is likely missing the "com.apple.application-identifier" entitlement.}. Throwing .permissionDenied. 2022-08-10 19:37:12.939452+0200 ConMusic[3082:33162] [DataRequesting] Failed retrieving tokens for MusicDataRequest.Context(url: https://api.music.apple.com/v1/catalog/us/artists/1264549322). Error = .permissionDenied. .permissionDenied I checked AppID on dev account and everything is OK what I am missing:/
Aug ’22
Reply to MusicKit PLAY_ACTIVITY error popups
Wow, thanks for mentioning that. How can I not encountered that link sooner? I believe in Apple Developer Documentation MusicKitJS still uses version 1 and I recently started a project and still use that version and can confirm that pop-ups appears also for me. Also played songs with MusicKitJS v1 are not reflected in Api endpoint /recentlyPlayed Could you modify that endpoint to properly display user's history
Dec ’21