gdata installation problem

20 views
Skip to first unread message

sascha

unread,
Jan 29, 2011, 4:59:03 PM1/29/11
to Google Data APIs Objective-C Client Library Discussion
Hi,

I recently discovered this nice library and I want to include it in my
iPhone-App, but I can't compile my project after linking to the static
library:


target specifies product type 'com.apple.product-type.framework', but
there's no such product type for the 'iphonesimulator' platform
Internal error occurred while creating dependency graph: ASSERTION
FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1763/pbxcore/
Target.subproj/PBXTargetBuildContext.m:2073
Details: Assertion failed: [filePath isAbsolutePath]
Object: <PBXTargetBuildContext:0x202da3580>
Method: -setHeadermapToolInvocation:forFilePath:
Thread: <NSThread: 0x201196260>{name = (null), num = 5}
Backtrace:
0 0x0000000100282ca8 -[PBXTargetBuildContext(DependencyGraphEvents)
handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:]
(in DevToolsCore)
1 0x00000001002d82b8 _XCAssertionFailureHandler (in DevToolsCore)
2 0x000000010027f819 -[PBXTargetBuildContext
setHeadermapToolInvocation:forFilePath:] (in DevToolsCore)
3 0x0000000100141382 -[XCCompilerSpecification
computeDependenciesForFilePath:ofType:outputDirectory:inTargetBuildContext:]
(in DevToolsCore)
4 0x000000010037e1e6 -
[XCBuildRuleDGSnapshot(DependencyGraphCreation)
computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirectory:additionalProperties:inTargetBuildContext:]
(in DevToolsCore)
5 0x0000000100140067 -
[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
_computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:processedPaths:]
(in DevToolsCore)
6 0x000000010013f938 -
[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForFilePath:ofType:forBuildFileReference:usingBuildRule:inTargetBuildContext:]
(in DevToolsCore)
7 0x000000010013d81a -
[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForBuildFileReference:inTargetBuildContext:] (in
DevToolsCore)
8 0x000000010013cde2 -
[XCBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in
DevToolsCore)
9 0x000000010013c93f -
[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesForAllBuildFileReferencesInTargetBuildContext:] (in
DevToolsCore)
10 0x00000001001397a9 -
[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation)
computeDependenciesInTargetBuildContext:] (in DevToolsCore)
11 0x000000010012cb0e -[XCProductTypeSpecification
computeDependenciesInTargetBuildContext:] (in DevToolsCore)
12 0x0000000100128343 -
[XCNativeTargetDGSnapshot(DependencyGraphCreation)
computeDependenciesInTargetBuildContext:] (in DevToolsCore)
13 0x00000001001244d9 -[PBXTargetBuildContext
createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore)
14 0x0000000100123471 -[PBXTargetBuildContext(DependencyGraphEvents)
dg_setTargetSnapshot:] (in DevToolsCore)
15 0x00007fff88cf696c __invoking___ (in CoreFoundation)
16 0x00007fff88cf683d -[NSInvocation invoke] (in CoreFoundation)
17 0x0000000100122ed5 -[PBXTargetBuildContext(DependencyGraphEvents)
processDependencyGraphEvents] (in DevToolsCore)
18 0x00007fff88cf696c __invoking___ (in CoreFoundation)
19 0x00007fff88cf683d -[NSInvocation invoke] (in CoreFoundation)
20 0x0000000100122a25 -[XCInvocationQueue
_processNextInvocationInThreadSlotNumber:] (in DevToolsCore)
21 0x000000010012279d -[XCInvocationQueue
_processInvocationsInThreadSlotNumber:] (in DevToolsCore)
22 0x00007fff876650a5 __NSThread__main__ (in Foundation)
23 0x00007fff85839536 _pthread_start (in libSystem.B.dylib)
24 0x00007fff858393e9 thread_start (in libSystem.B.dylib)

I think, I made a stupid mistake, but I'm not sure where.

Regards,
Sascha

Thomas Van Lenten

unread,
Jan 29, 2011, 10:02:53 PM1/29/11
to gdata-objec...@googlegroups.com
You are trying to use the framework which is for Mac OS X not iOS.
You need to us the static lib target.

TVL

> --
> You received this message because you are subscribed to the Google Groups "Google Data APIs Objective-C Client Library Discussion" group.
> To post to this group, send email to gdata-objec...@googlegroups.com.
> To unsubscribe from this group, send email to gdata-objectivec-...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gdata-objectivec-client?hl=en.
>
>

Developer_home

unread,
Feb 9, 2011, 8:10:26 AM2/9/11
to Google Data APIs Objective-C Client Library Discussion
Hi,

i am getting following error when i add static library in my xcode
project.
error: libxml/tree.h: No such file or directory
> > computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirec tory:additionalProperties:inTargetBuildContext:]

Developer_home

unread,
Feb 9, 2011, 8:12:15 AM2/9/11
to Google Data APIs Objective-C Client Library Discussion
Does u able to add it successfully ? i am getting following error when
i add static library in my xcode
project.
error: libxml/tree.h: No such file or directory

Do you hav any idea why it is giving error?

Thanks, in advance.
> computeDependenciesForFilePath:ofType:forBuildFileReference:withOutputDirec tory:additionalProperties:inTargetBuildContext:]
Reply all
Reply to author
Forward
0 new messages