iOS Question AppStore and Encription

marcick

Well-Known Member
Licensed User
Longtime User
I'm trying to add this line to avoid the questions about encription and export conformity when I publish a new release to AppSTore

#PlistExtra: <key>ITSAppUsesNonExemptEncryption</key><false/>

But I get this error compiling the app:

B4X:
B4i Version: 4.40
Parsing code.    (0.16s)
Compiling code.    (0.80s)
Compiling layouts code.    (0.05s)
Building Xcode project    (1.02s)
Sending data to remote compiler.    Error
Out: Build settings from command line:
    ARCHS = armv7 arm64
    CODE_SIGN_IDENTITY = iPhone
    CONFIGURATION_BUILD_DIR = /Users/EB/Desktop/B4i-Builder23/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = Bmap4I
    PROVISIONING_PROFILE = f61498fd-2751-4f87-b9d3-61ff5f66aeae

=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===

Check dependencies
Bundle identifier is missing. B4iProject doesn't have a bundle identifier for the Release build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'


Error: ** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)

What's the problem ?
 
Last edited:

Computersmith64

Well-Known Member
Licensed User
Longtime User
Don't know about the error, but if you want to avoid the encryption question you need to use the "ITSAppUsesNonExemptEncryption" key & set it to "NO".

- Colin.
 
Upvote 0

marcick

Well-Known Member
Licensed User
Longtime User
Don't know about the error, but if you want to avoid the encryption question you need to use the "ITSAppUsesNonExemptEncryption" key & set it to "NO".

- Colin.

Ops.... Sorry, that’s the key I’m trying to use (it was a copy&paste error, now I modify the post) but with that key I have the error above when compiling.
 
Upvote 0

marcick

Well-Known Member
Licensed User
Longtime User
Yes. Here it is

B4X:
#Region  Project Attributes
    #ApplicationLabel: xxxxI
    #Version: 3.0.0
    #PlistExtra:<key>CFBundleVersion</key><string>007</string>
    #iPhoneOrientations: Portrait, PortraitUpsideDown
    #iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
    #PlistExtra: <key>UIViewControllerBasedStatusBarAppearance</key><false/>
    #PlistExtra:<key>NSLocationWhenInUseUsageDescription</key><string>Per tracciare la propria posizione sulla mappa.</string>
    #PlistExtra:<key>NSLocationUsageDescription</key><string>Per tracciare la propria posizione sulla mappa.</string>
    #PlistExtra: <key>UIFileSharingEnabled</key><true/>
    #PlistExtra: <key>ITSAppUsesNonExemptEncryption</key><False/>
    #If RELEASE
           #CertificateFile: ios_distribution.cer
          #ProvisionFile: AppStore.mobileprovision 
    #Else
        #CertificateFile: ios_development.cer       
          #ProvisionFile: Development.mobileprovision 
    #END IF
    #MinVersion: 9.0   
    #Entitlement: <key>aps-environment</key><string>production</string>       
#End Region
 
Upvote 0
Top