# iOS apps being generated with plist key CFBundleResourceSpecification, now prevents uploading to App Store

**URL:** <https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS, UE4, question\
**Created:** [September 18, 2015, 11:35pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712 "2015-09-18T23:35:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb692cdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb692cdc](https://forums.unrealengine.com/u/anonymous_user_fb692cdc)\
**Post date:** [September 18, 2015, 11:35pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/1 "2015-09-18T23:35:56Z")

</div>

Apps generated for iOS with 4.9 cannot be uploaded to TestFlight or iTunes Connect because they have started to enforce, server side, the deprecation of the Info.plist key `CFBundleResourceSpecification`. This key needs to be removed from the generated app or nobody is going to be able to submit their apps to the app store or test them using Test Flight.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb692cdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb692cdc](https://forums.unrealengine.com/u/anonymous_user_fb692cdc)\
**Post date:** [September 18, 2015, 11:39pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/2 "2015-09-18T23:39:04Z")

</div>

Digging a little, it looks like this is generated in `CodeSigning.cs`. I’m going to see if I can remove this key and get my project to upload. If it does, I’ll submit a pull request.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb692cdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb692cdc](https://forums.unrealengine.com/u/anonymous_user_fb692cdc)\
**Post date:** [September 19, 2015, 1:17pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/3 "2015-09-19T13:17:29Z")

</div>

Commented out the code that added that key, but the generated app still have it. Not sure where it’s coming from.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb692cdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb692cdc](https://forums.unrealengine.com/u/anonymous_user_fb692cdc)\
**Post date:** [September 21, 2015, 4:11pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/4 "2015-09-21T16:11:31Z")

</div>

> **[Technical Note TN2206: macOS Code Signing In Depth](https://developer.apple.com/library/archive/technotes/tn2206/_index.html)**
>
> TN2206: Intermediate to expert level overview of macOS code signing that details specific options and gotchas

Relevant portion:

> Systems before OS X Mavericks v10.9 documented a signing feature (–resource-rules) to control which files in a bundle should be sealed by a code signature. This feature has been obsoleted for Mavericks. Code signatures made in Mavericks and later always seal all files in a bundle; there is no need to specify this explicitly any more. This also means that the Code Signing Resource Rules Path build setting in Xcode should no longer be used and should be left blank.
> 
> It is thus no longer possible to exclude parts of a bundle from the signature. Bundles should be treated as read-only once they have been signed.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb692cdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb692cdc](https://forums.unrealengine.com/u/anonymous_user_fb692cdc)\
**Post date:** [September 21, 2015, 9:58pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/5 "2015-09-21T21:58:39Z")

</div>

I’ve tried commenting out lines 80 - 82 in `CompileTime.cs` and am testing it. I think I’ll also need to comment out some code in `CodeSigning.cs`. There’s a check there to make sure that there’s a `CFBundleResourceSpecification` key that may still trigger this problem.

---

<div class="post-metadata">

**Author:** ![Ravlek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravlek](https://forums.unrealengine.com/u/Ravlek)\
**Post date:** [September 21, 2015, 10:38pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/6 "2015-09-21T22:38:02Z")

</div>

I’ll have to do some more digging because it sounds like you are just doing this from the PC. There are other places when doing this from a Mac which add the CustomResourceRules as well (XcodeProjectFileGenerator.cs). I also want to see the error from the app upload first hand so I can understand what the failure message is.

-

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fb692cdc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fb692cdc](https://forums.unrealengine.com/u/anonymous_user_fb692cdc)\
**Post date:** [September 21, 2015, 10:39pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/7 "2015-09-21T22:39:26Z")

</div>

I am very much not doing this from a PC 🙂

`XcodeProjectFileGenerator.cs` may also add it. I wasn’t sure if that came into play with a UBT build, though.

I can certainly understand you wanting to do your homework, unfortunately, I’m now a few days late on delivering a build, so I need to keep pushing forward on my own.

---

<div class="post-metadata">

**Author:** ![Stephen\_Ellis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stephen_ellis/32/1210665_2.png) [@Stephen\_Ellis](https://forums.unrealengine.com/u/Stephen_Ellis)\
**Post date:** [September 22, 2015, 6:20pm UTC](https://forums.unrealengine.com/t/ios-apps-being-generated-with-plist-key-cfbundleresourcespecification-now-prevents-uploading-to-app-store/332712/8 "2015-09-22T18:20:20Z")

</div>

Following up with the answer from on the other post:

> I just verified the fixes on a Mac and uploaded an App. Just need to verify the PC side and then it should be all ready. -

From: [iOS / Xcode 7 compiled apps not accepted by iTunes Connect - Mobile - Epic Developer Community Forums](https://answers.unrealengine.com/questions/304816/ios-xcode-7-compiled-apps-not-accepted-by-itunes-c.html)

We will likely be providing this fix in a QFE as soon as it is ready.
