tianshanxuester / gdata-objectivec-client

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

Build failure due to removal of NSTask from IPhone SDK 3.0 #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using IPhone SDK 3.0, follow instructions to link GData Source into xcode 
project
2. Attempt to build project
3. Build fails with messages   
...Source/Networking/GDataHTTPFetcherLogging.m:224: error: 'NSTask' undeclared 
(first use in 
...Source/Networking/GDataHTTPFetcherLogging.m:224: error: 'task' undeclared 
(first use in this 
function)

What is the expected output? What do you see instead?
Expect it to build without an problem, instead build is failing with messages 
above

What version of the product are you using? On what operating system?
-Mac OS 10.5.6
-Iphone SDK 3.0 Beta 3
-Xcode 3.1.3, pre release

Please provide any additional information below.
-based on release notes, it appears that some of the foundation API has been 
removed from the 
Iphone SDK, NSTask being one of those removed, that means moving forward any 
iPhone apps 
built on top of this framework will not build.

Original issue reported on code.google.com by antith...@gmail.com on 18 Apr 2009 at 4:12

GoogleCodeExporter commented 9 years ago
NSTask is just used to format XML for logging, and that isn't supposed to 
happen when
building for the device anyway. If it's causing the build to break for running 
in the
simulator, just define GDATA_SKIP_LOG_XMLFORMAT to 1 in your project for now.

Original comment by gregrobbins on 18 Apr 2009 at 5:46

GoogleCodeExporter commented 9 years ago
Thanks that worked

Original comment by antith...@gmail.com on 20 Apr 2009 at 6:07

GoogleCodeExporter commented 9 years ago
This has been fixed in the top-of-trunk. We no longer attempt to prettyprint 
XML in
the simulator. Thanks for raising the issue.

Original comment by gregrobbins on 29 Apr 2009 at 7:30

GoogleCodeExporter commented 9 years ago
Issue 32 has been merged into this issue.

Original comment by gregrobbins on 28 Jun 2009 at 11:06

GoogleCodeExporter commented 9 years ago
please give near theatere application in iphone

Original comment by premkuma...@gmail.com on 15 Mar 2012 at 10:05