error domain=nscocoaerrordomain code=3000

Comments

7 comments

  • Avatar
    Nikita Ovchinnikov

    Hello,

    Please be sure to check your mobile provisioning profile (the one you have used for signing your build) if it has the “aps-environment” string. If it is not there, please note that you should recreate the mobile provisioning profile in the Apple Development Portal. Make sure the “aps-environment” value matches the gateway you are using: Sandbox for “development” and Production for “production” values.

    Best regards. Nikita

  • Avatar
    FERHAT KARATAY

    Hi Nikita,

    thank you for you reply. if you know could you explain me; how can i check my mobile provision file "aps-environment" value?

    i don't use xcode or other development suites. i just create my certificate, identifier, and provision file from developer center and upload them on OutSystems development suite.

    regards.

  • Avatar
    Nikita Ovchinnikov

    Hello,

    Please note that *.mobileprovisioning file is contained inside the ipa-file of your application.

    You could open provisioning profile with any text editor by using UTF-8 encoding and look for the following lines:

    < key>aps-environment< /key>
    
            < string>production< /string>
    

    Best regards, Nikita

  • Avatar
    Gary Fenton

    Hi Nikita. I have the same problem when my app tries to register with Pushwoosh:

    Error Domain=NSCocoaErrorDomain Code=3000 \"no valid 'aps-environment' entitlement string found for application\"

    I wasn't seeing this when I built the app a couple of weeks ago. But I do with more recent builds and my provisioning profile and Apple certs are still the same and still valid.

    I don't use Xcode. Instead I use a text editor on Windows and PGB. Any suggestions please?

  • Avatar
    Rahrs

    Same problem herr, aps-enviroment is set to development in the provisioning file... help!

  • Avatar
    Nikita Ovchinnikov

    Hello,

    Please note that you should recreate the mobile provisioning profile in the Apple Development Portal and make sure the “aps-environment” value matches the gateway you are using: Sandbox for “development” and Production for “production” values.

    Best regards, Nikita.

  • Avatar
    Rahrs

    yes already done that, i renamed the IPA file from phonegab to zip, located the embedded.mobileprovision inside and looked up <key>aps-environment</key> <string>development</string>

    i still get the error while trying to register my device

Please sign in to leave a comment.