NghiaTranUIT / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
1 stars 0 forks source link

DriveExample won't build on 10.10 #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Update to revision 141
2. open Examples/DriveSample/DriveSample.xcodeproj
3. Product / Build 

What is the expected output? What do you see instead?
Successful build. Instead I get:

/Users/nathanh_local/Dev/google-api-objectivec-client-read-only/Examples/DriveSa
mple/DriveSampleWindowController.m:182:3: 'NSBeginAlertSheet' is deprecated: 
first deprecated in OS X 10.10 - Use NSAlert instead
/Users/nathanh_local/Dev/google-api-objectivec-client-read-only/Examples/DriveSa
mple/DriveSampleWindowController.m:191:21: 'NSAlertDefaultReturn' is 
deprecated: first deprecated in OS X 10.10 - Use NSAlertFirstButtonReturn, etc 
instead
/Users/nathanh_local/Dev/google-api-objectivec-client-read-only/Examples/DriveSa
mple/DriveSampleWindowController.m:204:19: 'NSOKButton' is deprecated: first 
deprecated in OS X 10.10 - Use NSModalResponseOK instead
/Users/nathanh_local/Dev/google-api-objectivec-client-read-only/Examples/DriveSa
mple/DriveSampleWindowController.m:718:21: 'NSOKButton' is deprecated: first 
deprecated in OS X 10.10 - Use NSModalResponseOK instead
/Users/nathanh_local/Dev/google-api-objectivec-client-read-only/Examples/DriveSa
mple/DriveSampleWindowController.m:1021:3: 'NSBeginAlertSheet' is deprecated: 
first deprecated in OS X 10.10 - Use NSAlert instead
/Users/nathanh_local/Dev/google-api-objectivec-client-read-only/Examples/DriveSa
mple/DriveSampleWindowController.m:1048:45: 'NSOKButton' is deprecated: first 
deprecated in OS X 10.10 - Use NSModalResponseOK instead

What version of the product are you using? On what operating system?
Xcode 6.1 (6A1052d) on OS X 10.10 (14A389)

Please provide any additional information below.

Setting the Deployment Info > Deployment Target to 10.9 (or lower) works around 
this issue.

Original issue reported on code.google.com by nathan.h...@technosloth.com on 30 Oct 2014 at 4:18

GoogleCodeExporter commented 9 years ago
Thanks for the report. We've updated the sample apps.

https://code.google.com/p/google-api-objectivec-client/source/detail?r=419

Original comment by grobb...@google.com on 19 Dec 2014 at 2:28