objective c - UIApplication is nil within didFinishLaunchingWithOptions -


application object passed onto didfinishlaunchingwithoptions nil when attach process through xcode6. when ran within simulator works fine.

i tried explicitly getting uiapplication*

uiapplication* app = [uiapplication sharedapplication]; 

but returns nil. idea doing wrong? started happening after updating base sdk ios8.4.

thanks.

i found causing issue. using 'xcodebuild' command workaround generate ipa archive since wasn't able through xcode6 (because starting xcode 6 requires ad hoc distribution provisional profile generate ipa ad hoc distribution).

once created ios distribution certificate , ad hoc distribution provisional profile. able export archive create ipa through xcode , no longer had issue.


Comments

Popular posts from this blog

c# - Store DBContext Log in other EF table -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -