Discussion Forums  >  Uncategorized

Replies: 9    Views: 531

Elsa Rosie
I hate code!
Profile
Posts: 44
Reg: Apr 07, 2011
Hong Kong
440
05/03/11 12:55 AM (14 years ago)

Build Fail :(

Hi, I have 2 errors while building: - BT_Screens/BT_screen_imageUpload.m:604:0 BT_Screens/BT_screen_imageUpload.m:604: error: 'UIImagePickerControllerReferenceURL' undeclared (first use in this function) -BT_Screens/BT_screen_imageEmail.m:357:0 BT_Screens/BT_screen_imageEmail.m:357: error: 'UIImagePickerControllerReferenceURL' undeclared (first use in this function) Can someone help please? I tried both code with and without sample data. Thank you very much!
 
Elsa Rosie
I hate code!
Profile
Posts: 44
Reg: Apr 07, 2011
Hong Kong
440
like
05/03/11 06:20 PM (14 years ago)
I tried another project, gives me the same error when compiling. Any thoughts?
 
Everest11
Code is Art
Profile
Posts: 195
Reg: Apr 04, 2011
GA, USA
1,950
like
05/03/11 06:52 PM (14 years ago)
can you copy/paste the block of code where it is terminating and having the issue?
 
Elsa Rosie
I hate code!
Profile
Posts: 44
Reg: Apr 07, 2011
Hong Kong
440
like
05/03/11 07:11 PM (14 years ago)
on BT_screen_imageUpload.m NSURL *localImageURL = [info objectForKey:UIImagePickerControllerReferenceURL]; <----- UIImagePickerControllerReferenceURL undecleared and on BT_screen_imageEmail.m NSURL *localImageURL = [info objectForKey:UIImagePickerControllerReferenceURL]; <----- UIImagePickerControllerReferenceURL undecleared Maybe I'm using 4.0 SDK? I'm downloading 4.3, it's 4GB! Is there an official link to download 4.3 without MacApp Store?
 
erichopf
buzztouch Evangelist
Profile
Posts: 316
Reg: Mar 14, 2011
NY, NY
3,460
like
05/03/11 07:43 PM (14 years ago)
Yes, on Apple's Dev Center, after you login to your account.
 
Everest11
Code is Art
Profile
Posts: 195
Reg: Apr 04, 2011
GA, USA
1,950
like
05/03/11 08:47 PM (14 years ago)
Do a Clean (in the Xcode menu under Product ) of your project then try building again.
 
Elsa Rosie
I hate code!
Profile
Posts: 44
Reg: Apr 07, 2011
Hong Kong
440
like
05/03/11 10:38 PM (14 years ago)
Hi, I tried. - re-install Xcode with 4.3 - config it to use 4.3 Base SDK - cleaned and build still the same problem :(. Anyone has this undecleared error?
 
Elsa Rosie
I hate code!
Profile
Posts: 44
Reg: Apr 07, 2011
Hong Kong
440
like
05/03/11 10:50 PM (14 years ago)
OH! I re-download the source from buzztouch and it works now!!! Very happy!
 
Everest11
Code is Art
Profile
Posts: 195
Reg: Apr 04, 2011
GA, USA
1,950
like
05/04/11 10:23 AM (14 years ago)
great! when something is undeclared like that it is usually missing something like a header file or declaration in the source code.
 
jmp4106
Aspiring developer
Profile
Posts: 43
Reg: Feb 18, 2011
california
430
like
05/04/11 05:45 PM (14 years ago)
I've had issues sometimes with whatever I download not being completely downloaded. I choose to blame Charter Communications because they suck. lol
 

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.