Search code examples
airtestflight

Testflightapp, AIR iOS app upload error


I have a trouble at uploading a AIR iOS app, it always say: "Invalid Profile: distribution build entitlements must have get-task-allow set to false."

step 1:

I package the app with the adhoc provision file, failed.

step 2:

I added something to xml file.

<iPhone>
    <InfoAdditions><![CDATA[
        <key>Entitlements</key>
            <dict>
                <key>get-task-allow</key>
                <false/>
            </dict>
....

still failed.


Solution

  • <iPhone>
        <InfoAdditions><![CDATA[
    
    
            <key>UIDeviceFamily</key>
            <array>
                <!-- iPhone support -->
                <string>1</string> 
                <!-- iPad support -->
                <!--<string>2</string>-->
            </array>
        ]]></InfoAdditions>
    
        <Entitlements>
            <![CDATA[
                <key>get-task-allow</key>
                <false/>
    
            ]]>
        </Entitlements>
        <requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>