Post

Replies

Boosts

Views

Activity

Reply to Library validation fails because of different Team IDs
I landed on this question due to a similar problem of a Framework that Xcode was not resigning correctly (but AppStore Connect does). In my case the author provides a distribution license (your case 1). With regard to your question on GPL I am also not a lawyer, but this has come up off and on over the past 35 years. These are quotes from gnu.org. This is why the industry refers to the "GPL Virus" You have a GPLed program that I'd like to link with my code to build a proprietary program. Does the fact that I link with your program mean I have to GPL my program? (https://www.gnu.org/licenses/gpl-faq.en.html#LinkingWithGPL) Not exactly. It means you must release your program under a license compatible with the GPL (more precisely, compatible with one or more GPL versions accepted by all the rest of the code in the combination that you link). The combination itself is then available under those GPL versions. If so, is there any chance I could get a license of your program under the Lesser GPL? (#SwitchToLGPL) You can ask, but most authors will stand firm and say no. The idea of the GPL is that if you want to include our code in your program, your program must also be free software. It is supposed to put pressure on you to release your program in a way that makes it part of our community. You always have the legal alternative of not using our code.
Topic: Code Signing SubTopic: General Tags:
Jan ’24
Reply to XCODE 15.0.1 causes "different Team ID" when loading 3rd party framework
I have some more info on this. The 3rd party developer package contains a framework and two bundles. The framework IS getting resigned to agree with my certificate but the bundles have not been. The framework tries to load one of the bundles which causes /Users/{user}/Library/Developer/Xcode/DerivedData/CaptureEclipse-evfrpkqsoswzwsgrcttvdaqskqfx/Build/Products/Debug/CaptureEclipse.app/Contents/Frameworks/{vendor}.framework/Versions/A/{vendor}Image.bundle/Contents/MacOS/{vendor}Image' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs) At the moment this does not appear to be fatal {for me} since neither my app nor the framework seems to call into the bundle, but this is likely causing log entries. I tried adding the bundles as Embedded content and as "Copy Bundle Resources" but neither made a difference I ported by project back to Ventura and Monterey machines so I could test with Xcode 14 and 13. I must have not noticed these errors before.
Dec ’23
Reply to Not able to find user generated alerts in XCTest on Ventura
I tested it again this morning using the original test code from above. It now works on both M1/Ventura and Intel/Monterey. To adapt to Ventura I briefly switched the dialogs from modal to sheets. I then went back to modal dialogs issued more cleverly. I thought I had used the original test code for both before I changed the test design. Mea Culpa This thread can be closed (and deleted)
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’23
Reply to Not able to find user generated alerts in XCTest on Ventura
this is what Xcode sees The alert is actually queued for display while the Total Eclipse Editor dialog is being created and then displayed once that window appears when it is legal to post alerts. In other words it appears immediately, but I added the fudge of waiting since I am now running on a Studio instead of a Mac Pro 2013. The "Save Prefs" button is the previous configuration dialog.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’23
Reply to Not able to find user generated alerts in XCTest on Ventura
I used the Accessibility tool and the alert shows This worked fine when I ran the test under Catalina/Big Sur It is not a system dialog. It is one that my app posts when a scenario condition is not met. I am not sure what you are asking WRT the bundle of the test run. The code I am currently using does the search as found = app.alerts.firstMatch.waitForExistence(timeout: 5.0) let ackdialog = app.alerts.firstMatch I have also tried posting the dialog using beginSheetModal and then searching for a sheet.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’23
Reply to Library validation fails because of different Team IDs
I landed on this question due to a similar problem of a Framework that Xcode was not resigning correctly (but AppStore Connect does). In my case the author provides a distribution license (your case 1). With regard to your question on GPL I am also not a lawyer, but this has come up off and on over the past 35 years. These are quotes from gnu.org. This is why the industry refers to the "GPL Virus" You have a GPLed program that I'd like to link with my code to build a proprietary program. Does the fact that I link with your program mean I have to GPL my program? (https://www.gnu.org/licenses/gpl-faq.en.html#LinkingWithGPL) Not exactly. It means you must release your program under a license compatible with the GPL (more precisely, compatible with one or more GPL versions accepted by all the rest of the code in the combination that you link). The combination itself is then available under those GPL versions. If so, is there any chance I could get a license of your program under the Lesser GPL? (#SwitchToLGPL) You can ask, but most authors will stand firm and say no. The idea of the GPL is that if you want to include our code in your program, your program must also be free software. It is supposed to put pressure on you to release your program in a way that makes it part of our community. You always have the legal alternative of not using our code.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to XCODE 15.0.1 causes "different Team ID" when loading 3rd party framework
I have some more info on this. The 3rd party developer package contains a framework and two bundles. The framework IS getting resigned to agree with my certificate but the bundles have not been. The framework tries to load one of the bundles which causes /Users/{user}/Library/Developer/Xcode/DerivedData/CaptureEclipse-evfrpkqsoswzwsgrcttvdaqskqfx/Build/Products/Debug/CaptureEclipse.app/Contents/Frameworks/{vendor}.framework/Versions/A/{vendor}Image.bundle/Contents/MacOS/{vendor}Image' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs) At the moment this does not appear to be fatal {for me} since neither my app nor the framework seems to call into the bundle, but this is likely causing log entries. I tried adding the bundles as Embedded content and as "Copy Bundle Resources" but neither made a difference I ported by project back to Ventura and Monterey machines so I could test with Xcode 14 and 13. I must have not noticed these errors before.
Replies
Boosts
Views
Activity
Dec ’23
Reply to XCODE 15.0.1 causes "different Team ID" when loading 3rd party framework
The work around is what Eskimo suggests. The app will run if you turn off library validation. That will likely result in your app being rejected for the App Store. <key>com.apple.security.cs.disable-library-validation</key> <true/>
Replies
Boosts
Views
Activity
Dec ’23
Reply to XCODE 15.0.1 causes "different Team ID" when loading 3rd party framework
This problem is still in Xcode 15.1 RC
Replies
Boosts
Views
Activity
Dec ’23
Reply to XCODE 15.0.1 causes "different Team ID" when loading 3rd party framework
I verified that when my app was built with XCODE 14 that the team IDs on the included Framework were changed to my own Team ID. The problem appears to be a bug introduced in XCODE 15 not the problem Eskimo talked about.
Replies
Boosts
Views
Activity
Dec ’23
Reply to Not able to find user generated alerts in XCTest on Ventura
I tested it again this morning using the original test code from above. It now works on both M1/Ventura and Intel/Monterey. To adapt to Ventura I briefly switched the dialogs from modal to sheets. I then went back to modal dialogs issued more cleverly. I thought I had used the original test code for both before I changed the test design. Mea Culpa This thread can be closed (and deleted)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Not able to find user generated alerts in XCTest on Ventura
this is what Xcode sees The alert is actually queued for display while the Total Eclipse Editor dialog is being created and then displayed once that window appears when it is legal to post alerts. In other words it appears immediately, but I added the fudge of waiting since I am now running on a Studio instead of a Mac Pro 2013. The "Save Prefs" button is the previous configuration dialog.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Not able to find user generated alerts in XCTest on Ventura
I used the Accessibility tool and the alert shows This worked fine when I ran the test under Catalina/Big Sur It is not a system dialog. It is one that my app posts when a scenario condition is not met. I am not sure what you are asking WRT the bundle of the test run. The code I am currently using does the search as found = app.alerts.firstMatch.waitForExistence(timeout: 5.0) let ackdialog = app.alerts.firstMatch I have also tried posting the dialog using beginSheetModal and then searching for a sheet.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to CFBundleIdentifier Collision submitting app with Canon EDSDK
At the request of Apple DTS I submitted FB9567844. I met with the App Store Connect folks this morning. They indicated they understood my problem.
Replies
Boosts
Views
Activity
Oct ’21