franklin
Apple Fan
Profile
Posts: 7
Reg: Aug 11, 2015
London
70
08/11/15 12:27 PM (8 years ago)

Semantic Issue Comparison of address

Hy all. My first app, but I have problem: "Comparison of address of 'NSURLIsExcludedFromBackupKey' equal to a null pointer is always false" pic: https://www.dropbox.com/s/3daq8e6r6l5mfam/Screen%20Shot%202015-08-11%20at%2021.19.26.png?dl=0 Thanks help :) Frank
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/11/15 05:37 PM (8 years ago)
If your app is for iOS 5.01 and above, I'd get rid of the if statement, and leave the code for iOS5.01- Cheers! -- Smug
 
franklin
Apple Fan
Profile
Posts: 7
Reg: Aug 11, 2015
London
70
like
08/11/15 10:57 PM (8 years ago)
ok, thanks! and where can I do that ?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
08/12/15 12:07 AM (8 years ago)
In that code snippet you showed; just remove the part that deals with iOS5.01... Cheers! -- Smug ==== Cut or comment out from here ==== if (&NSURLIsExcludedFromBackupKey == nil) { blah blah blah } else { ==== end cut here ==== leave the rest of the code alone... === but cut the remaining parenthesis === } // <-- cut or comment out this closing bracket === otherwise you'll get errors from an incomplete statement ===
 
franklin
Apple Fan
Profile
Posts: 7
Reg: Aug 11, 2015
London
70
like
08/12/15 07:38 AM (8 years ago)
nice! thx. no error. and now, why I can not Archive project, where is .ipa file? https://www.dropbox.com/s/4tymppvj9wkba93/Screen%20Shot%202015-08-12%20at%2016.32.20.png?dl=0
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
08/12/15 08:45 AM (8 years ago)
You need to select your device instead of iPhone 6 simulator, then the archive option will appear.
 
franklin
Apple Fan
Profile
Posts: 7
Reg: Aug 11, 2015
London
70
like
08/12/15 08:57 AM (8 years ago)
lol. this is it!!! thx :D
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.