Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

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

Closed
GoogleCodeExporter opened this issue Apr 21, 2015 · 5 comments
Closed

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

Thanks that worked

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

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Issue 32 has been merged into this issue.

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

@GoogleCodeExporter
Copy link
Author

please give near theatere application in iphone

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant