Python executable in Swift macOS app cannot archive












2















I have a macOS app that facilitate automatic wifi authentication. When I'm trying to validate the app (in the Xcode archive manager), it reports




Couldn't find platform family in Info.plist CFBundleSupportedPlatforms
or Mach-O LC_VERSION_MIN for .Python




The app itself works like a charm. But I'm trying to validate it so it doesn't show up as 'Unidentified developer' when other people get my app. I have recently I used Pyinstaller to create a unix executable that handles automatic wifi authentication. After checking the logs, it is apparent that something within the .Python folder inside the "auth" folder generated by Pyinstaller.



My app is here: https://github.com/Clumsyndicate/AutoAuth



I have tried the solutions presented in Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs, and it did not work for me.



I have tried:




  1. Remove all DSYM files (I have no DSYM files)

  2. Add "MacOSX" to "CFBundleSupportedPlatforms" in info.plist


I checked out the logs and found the relevant section of '.Python'.



2018-11-24 15:33:48 +0000 [OPTIONAL] Didn't find info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>" UserInfo={NSLocalizedDescription=Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>}



I'm a stack overflow, macOS dev. and python noob. Please correct me if I made any mistakes. Any help counts!










share|improve this question

























  • Can you provide MachOView output of your executable as in: stackoverflow.com/questions/48324224/… ?

    – Kamil.S
    Nov 30 '18 at 8:28
















2















I have a macOS app that facilitate automatic wifi authentication. When I'm trying to validate the app (in the Xcode archive manager), it reports




Couldn't find platform family in Info.plist CFBundleSupportedPlatforms
or Mach-O LC_VERSION_MIN for .Python




The app itself works like a charm. But I'm trying to validate it so it doesn't show up as 'Unidentified developer' when other people get my app. I have recently I used Pyinstaller to create a unix executable that handles automatic wifi authentication. After checking the logs, it is apparent that something within the .Python folder inside the "auth" folder generated by Pyinstaller.



My app is here: https://github.com/Clumsyndicate/AutoAuth



I have tried the solutions presented in Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs, and it did not work for me.



I have tried:




  1. Remove all DSYM files (I have no DSYM files)

  2. Add "MacOSX" to "CFBundleSupportedPlatforms" in info.plist


I checked out the logs and found the relevant section of '.Python'.



2018-11-24 15:33:48 +0000 [OPTIONAL] Didn't find info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>" UserInfo={NSLocalizedDescription=Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>}



I'm a stack overflow, macOS dev. and python noob. Please correct me if I made any mistakes. Any help counts!










share|improve this question

























  • Can you provide MachOView output of your executable as in: stackoverflow.com/questions/48324224/… ?

    – Kamil.S
    Nov 30 '18 at 8:28














2












2








2


1






I have a macOS app that facilitate automatic wifi authentication. When I'm trying to validate the app (in the Xcode archive manager), it reports




Couldn't find platform family in Info.plist CFBundleSupportedPlatforms
or Mach-O LC_VERSION_MIN for .Python




The app itself works like a charm. But I'm trying to validate it so it doesn't show up as 'Unidentified developer' when other people get my app. I have recently I used Pyinstaller to create a unix executable that handles automatic wifi authentication. After checking the logs, it is apparent that something within the .Python folder inside the "auth" folder generated by Pyinstaller.



My app is here: https://github.com/Clumsyndicate/AutoAuth



I have tried the solutions presented in Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs, and it did not work for me.



I have tried:




  1. Remove all DSYM files (I have no DSYM files)

  2. Add "MacOSX" to "CFBundleSupportedPlatforms" in info.plist


I checked out the logs and found the relevant section of '.Python'.



2018-11-24 15:33:48 +0000 [OPTIONAL] Didn't find info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>" UserInfo={NSLocalizedDescription=Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>}



I'm a stack overflow, macOS dev. and python noob. Please correct me if I made any mistakes. Any help counts!










share|improve this question
















I have a macOS app that facilitate automatic wifi authentication. When I'm trying to validate the app (in the Xcode archive manager), it reports




Couldn't find platform family in Info.plist CFBundleSupportedPlatforms
or Mach-O LC_VERSION_MIN for .Python




The app itself works like a charm. But I'm trying to validate it so it doesn't show up as 'Unidentified developer' when other people get my app. I have recently I used Pyinstaller to create a unix executable that handles automatic wifi authentication. After checking the logs, it is apparent that something within the .Python folder inside the "auth" folder generated by Pyinstaller.



My app is here: https://github.com/Clumsyndicate/AutoAuth



I have tried the solutions presented in Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs, and it did not work for me.



I have tried:




  1. Remove all DSYM files (I have no DSYM files)

  2. Add "MacOSX" to "CFBundleSupportedPlatforms" in info.plist


I checked out the logs and found the relevant section of '.Python'.



2018-11-24 15:33:48 +0000 [OPTIONAL] Didn't find info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>: Error Domain=DVTFoundationNSBundleAdditionsErrorDomain Code=1 "Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>" UserInfo={NSLocalizedDescription=Couldn't load Info dictionary for <DVTFilePath:0x7ff4a37ee7e0:'/Users/johnsonzhou/Library/Developer/Xcode/Archives/2018-11-24/NewAuto 24-11-2018, 23.32.xcarchive/Products/Applications/NewAuto.app/Contents/Resources/auth/.Python'>}



I'm a stack overflow, macOS dev. and python noob. Please correct me if I made any mistakes. Any help counts!







python swift xcode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 '18 at 18:42









rmaddy

243k27321383




243k27321383










asked Nov 24 '18 at 16:17









Johnson ZhouJohnson Zhou

111




111













  • Can you provide MachOView output of your executable as in: stackoverflow.com/questions/48324224/… ?

    – Kamil.S
    Nov 30 '18 at 8:28



















  • Can you provide MachOView output of your executable as in: stackoverflow.com/questions/48324224/… ?

    – Kamil.S
    Nov 30 '18 at 8:28

















Can you provide MachOView output of your executable as in: stackoverflow.com/questions/48324224/… ?

– Kamil.S
Nov 30 '18 at 8:28





Can you provide MachOView output of your executable as in: stackoverflow.com/questions/48324224/… ?

– Kamil.S
Nov 30 '18 at 8:28












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53460047%2fpython-executable-in-swift-macos-app-cannot-archive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53460047%2fpython-executable-in-swift-macos-app-cannot-archive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wiesbaden

Marschland

Dieringhausen