Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Packaging error when switching to arm64 (arm5 was OK)

Tags:

ios8

arm64

I just plugged in a new iPhone 6, created a provisioning profile and then I launched the app I'm developing on the device. It compiled fine, but at linking stage it errored out with:

ProcessProductPackaging

...

error: class '(null)' of input object does not respond to either selector writeToFile:options:error: or writeToFile:atomically

I cannot find any information of what that is. I do not get any specific code reference to relate it to. Did anyone experience this?

like image 424
aledalgrande Avatar asked Oct 14 '14 23:10

aledalgrande


5 Answers

I just restarted Xcode then the error was disappeared

like image 66
DaisyLiang Avatar answered Nov 03 '22 16:11

DaisyLiang


Personally I was able to solve this issue by rebuilding the project a second time. I think I was only experiencing it after revoking and requesting a certificate.

Odd for it to jump at me and disappear though.

like image 24
jdero Avatar answered Nov 03 '22 17:11

jdero


I've tried turning the "Automatically managed signing" off and on again, then the issue disappeared. Note: rebuilding didn't help for me, cleaning either.

like image 2
Display Name Avatar answered Nov 03 '22 17:11

Display Name


I removed an external library and related code I had and it's now working.

like image 1
aledalgrande Avatar answered Nov 03 '22 17:11

aledalgrande


I just changed some provisioning setting and then restarted the xcode afterwards the error was disappeared and archived and then uploaded successfully

like image 1
Deepraj Chowrasia Avatar answered Nov 03 '22 17:11

Deepraj Chowrasia