Binary Rejected!

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Binary Rejected!

Stephen MacLean via use-livecode
Hello,

My recent iOS app uploaded to Apple was rejected because the dialog asking for access to your location didn’t say why the app wanted to use location services.  Apple said, “We noticed that your app requests the user’s consent to access their location but does not clarify the use of this feature in the permission modal alert.”

I found the “NSLocationAlwaysAndWhenInUseUsageDescription” key in the app’s info.plist and changed it.  But, when I uploaded the app to Apple, the Application loaded app reported the following error:

ERROR ITMS-90035: "Invalid Signature. Invalid Info.plist (plist or signature have been modified). The file at path [xxxxxxx.app/xxxxxxxx] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html"

Obviously, they didn’t like me messing with the info.plist.  So, what the solution?   Is there a way to edit the “NSLocationAlwaysAndWhenInUseUsageDescription” key?   Assuming that’s the correct thing to be editing?

Any assistance would be VERY appreciated!

-Dan

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Binary Rejected!

Stephen MacLean via use-livecode

> Le 24 août 2018 à 07:48, Dan Friedman via use-livecode <[hidden email]> a écrit :
>
> Hello,
>
> My recent iOS app uploaded to Apple was rejected because the dialog asking for access to your location didn’t say why the app wanted to use location services.  Apple said, “We noticed that your app requests the user’s consent to access their location but does not clarify the use of this feature in the permission modal alert.”
>
> I found the “NSLocationAlwaysAndWhenInUseUsageDescription” key in the app’s info.plist and changed it.  But, when I uploaded the app to Apple, the Application loaded app reported the following error:
>
> ERROR ITMS-90035: "Invalid Signature. Invalid Info.plist (plist or signature have been modified). The file at path [xxxxxxx.app/xxxxxxxx] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html"
>
> Obviously, they didn’t like me messing with the info.plist.  So, what the solution?   Is there a way to edit the “NSLocationAlwaysAndWhenInUseUsageDescription” key?   Assuming that’s the correct thing to be editing?
>
> Any assistance would be VERY appreciated!
>
> -Dan

Hello,

You need to modify the key before create the standalone :
Panos  tells you how to do it here : https://quality.livecode.com/show_bug.cgi?id=19780#c11 <https://quality.livecode.com/show_bug.cgi?id=19780#c11>

But I hope the next release allows us to do it in the standalone builder.

Ludovic
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Binary Rejected!

Stephen MacLean via use-livecode
Ludivuc,

Thanks for the advice!   I also found an LiveCode Lesson on this very topic.   http://lessons.livecode.com/m/4069/l/881992-creating-a-custom-plist


Thank you!
 
Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com
 

On 8/23/18, 10:56 PM, "use-livecode on behalf of Ludovic THEBAULT via use-livecode" <[hidden email] on behalf of [hidden email]> wrote:

   
    > Le 24 août 2018 à 07:48, Dan Friedman via use-livecode <[hidden email]> a écrit :
    >
    > Hello,
    >
    > My recent iOS app uploaded to Apple was rejected because the dialog asking for access to your location didn’t say why the app wanted to use location services.  Apple said, “We noticed that your app requests the user’s consent to access their location but does not clarify the use of this feature in the permission modal alert.”
    >
    > I found the “NSLocationAlwaysAndWhenInUseUsageDescription” key in the app’s info.plist and changed it.  But, when I uploaded the app to Apple, the Application loaded app reported the following error:
    >
    > ERROR ITMS-90035: "Invalid Signature. Invalid Info.plist (plist or signature have been modified). The file at path [xxxxxxx.app/xxxxxxxx] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html"
    >
    > Obviously, they didn’t like me messing with the info.plist.  So, what the solution?   Is there a way to edit the “NSLocationAlwaysAndWhenInUseUsageDescription” key?   Assuming that’s the correct thing to be editing?
    >
    > Any assistance would be VERY appreciated!
    >
    > -Dan
   
    Hello,
   
    You need to modify the key before create the standalone :
    Panos  tells you how to do it here : https://quality.livecode.com/show_bug.cgi?id=19780#c11 <https://quality.livecode.com/show_bug.cgi?id=19780#c11>
   
    But I hope the next release allows us to do it in the standalone builder.
   
    Ludovic
    _______________________________________________
    use-livecode mailing list
    [hidden email]
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Binary Rejected!

Stephen MacLean via use-livecode

> Le 24 août 2018 à 08:15, Dan Friedman via use-livecode <[hidden email]> a écrit :
>
> Ludivuc,
>
> Thanks for the advice!   I also found an LiveCode Lesson on this very topic.   http://lessons.livecode.com/m/4069/l/881992-creating-a-custom-plist <http://lessons.livecode.com/m/4069/l/881992-creating-a-custom-plist>
>

Great, i missed this. It’s a better solution.

Ludovic
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode