Infinite loop when packaging

We have Unreal 4.9.2

We tried to create an IPA with unreal editor on mac.

Compiling cpp source files was done well, then cooking was also done well.

But after this, remaining tasks were never finished.

We had been waited for over 10 hours, but we couldn’t see SUCCESS message.

Notable error message was

“LogHttp:Warning: didFailWithError. Http request failed - The resource could not be loaded because the App Transport Security policy requires the use of a secure connection. http://etsource.epicgames.com/ET2/CollectData.1?SessionID={CF45C90B-E74E-4CB1-CA44-DF840F903DBC}&AppID=UEEditor.UnrealEngine.Release&AppVersion=4.9.2-0%2B%2B%2Bdepot%2BUE4-Releases%2B4.9&UserID=427d1d204a4b39c02906b39ad87a03fb|de15a6035e3f4a90a94291709bd034b1|B8E7508D-E1B0-5F69-989D-383924464737: 0x7ffac1b747d0”

We saw dozens of these messages.

We tried to solve this error, so added below option. But we can still see this message.

<key>NSAppTransportSecurity</key>

<dict>

<key>NSAllowsArbitraryLoads</key>

<true/>

</dict>

Creating an IPA was successful several weeks ago.

We’re not sure… just… at that time, Unreal version wasn’t 4.9.2… We didn’t use ios 9 at that time… we don’t know.

We can create an IPA with sample projects. So we think the engine we have is not broken.

We can also create an APK.

We tested with removing many resources because we assumed the count of files made problems.

But this wasn’t helpful.

Can you give us advice for this?

Any mention would be helpful to us.

There is a known issue with UnrealPak on a Mac where it will hang. In your package settings disable Use Pak file and try to package again. You will be running with loose files, but it will complete the build and make the IPA. I am actively working on trying to figure out the problem for 4.10.

-Pete

Thanks. I’ll try :slight_smile:

i am having same error. but in different situation. i was able to package it successfully.
but during run time when i was trying to do a http request it was always showing:

Mar 23 10:35:09 iPad-di-XXXX
APP1[1564] :
[2017.03.23-09.35.09:507][429]LogHttp:Warning:
didFailWithError. Http request failed

  • The resource could not be loaded because the App Transport Security
    policy requires the use of a secure
    connection.
    http://api.myServer.com/uploads/upload_f0cbc18e2ba21e03fc0f0b78871748b2.jpg: 0x1653f260 Mar 23 10:35:09
    iPad-di-XXXX APP1[1564] :
    [2017.03.23-09.35.09:522][429]LogBlueprintUserMessages:
    [myInstance_GI_C_0] connection
    interupted or server down Mar 23
    10:35:09 iPad-di-XXXX
    CommCenter(libBasebandUSB.dylib)[78]
    : got
    kIOMessageDeviceHasPoweredOn, arg
    0x16fb4a20c

found the solution. i had to add

NSAppTransportSecurity

<key>NSAllowsArbitraryLoads</key>
<true/>