Thanks so much for the fast answer. As I mentioned above I´ve no issues with building the Project with Xcode, just from the command line I get this error.
-------------------------------------BEGIN--------------------------------------
Inspecting project: /Users/jakob/Dropbox/Coding/phonegap/ios_project/ios_project.xcodeproj/project.pbxproj
--------------------------------------------------------------------------------
Finding your project's sub-projects...
Sub-project: {'path': 'CordovaLib.xcodeproj', 'name': '(not found)', 'sourceTree': 'CORDOVALIB'}
--------------------------------------------------------------------------------
Inspecting your project's Build Settings...
Debug :
{ 'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'HEADER_SEARCH_PATHS': [ '"$(TARGET_BUILD_DIR)/usr/local/lib/include"',
'"$(OBJROOT)/UninstalledProducts/include"',
'"$(BUILT_PRODUCTS_DIR)"'],
'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
'OTHER_LDFLAGS': [ '-weak_framework',
'CoreFoundation',
'-weak_framework',
'UIKit',
'-weak_framework',
'AVFoundation',
'-weak_framework',
'CoreMedia',
'-weak-lSystem',
'-all_load',
'-Obj-C'],
'USER_HEADER_SEARCH_PATHS': ''}
Release :
{ 'ARCHS': '$(ARCHS_STANDARD_32_BIT)',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'HEADER_SEARCH_PATHS': [ '"$(TARGET_BUILD_DIR)/usr/local/lib/include"',
'"$(OBJROOT)/UninstalledProducts/include"',
'"$(BUILT_PRODUCTS_DIR)"'],
'IPHONEOS_DEPLOYMENT_TARGET': '4.2',
'OTHER_LDFLAGS': [ '-weak_framework',
'CoreFoundation',
'-weak_framework',
'UIKit',
'-weak_framework',
'AVFoundation',
'-weak_framework',
'CoreMedia',
'-weak-lSystem',
'-all_load',
'-Obj-C'],
'USER_HEADER_SEARCH_PATHS': ''}
--------------------------------------------------------------------------------
Inspecting Xcode Preferences...
CORDOVALIB: /Users/jakob/Documents/CordovaLib
Build Location Style: Unique
--------------------------------------------------------------------------------
Inspecting your CordovaLib's Build Settings...
Your project is using the CORDOVALIB Xcode variable (source tree).
Path is: /Users/jakob/Documents/CordovaLib/CordovaLib.xcodeproj
{ 'Debug': { 'ARCHS': ['armv6', 'armv7'],
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'IPHONEOS_DEPLOYMENT_TARGET': '3.0',
'OTHER_LDFLAGS': ['-all_load', '-ObjC'],
'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
'USER_HEADER_SEARCH_PATHS': ''},
'Release': { 'ARCHS': ['armv6', 'armv7'],
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'IPHONEOS_DEPLOYMENT_TARGET': '3.0',
'OTHER_LDFLAGS': ['-all_load', '-ObjC'],
'PUBLIC_HEADERS_FOLDER_PATH': 'include/Cordova',
'USER_HEADER_SEARCH_PATHS': '(not found)'}}
--------------------------------------------------------------------------------
Inspecting CordovaLib Version...
VERSION file: 2.0.0
CDVAvailability.h version: __CORDOVA_2_0_0
--------------------------------------END---------------------------------------
thank you!