I've gone through the first couple instructions and arrived

Hi,

I've gone through the first couple instructions and arrived at the "Clean then Run" step and clicked clean and then run and the run failed to build the "Wordpress" app on my device with a lot of errors.

Error for Wordpress:
1. Apple LLVM 5.1 Error

Errors for Pods project:
1. OCUnit is deprecated (it's asking to convert to XCTest) which when I do that the build fails.
2. Semantic Issue @property (nonatomic, DT_WEAK_PROPERTY, readwrite) NSDictionary *attributes;3.
3. #warning Directive #warning SystemConfiguration framework not found in project, or not included in precompiled header. Network reachability functionality will not be available.
4. #warning Directive #warning MobileCoreServices framework not found in project, or not included in precompiled header. Automatic MIME type detection when uploading files in multipart requests will not be available.

Can you help??
Thank you,
Nicholaus

  • Nicholaus

    Hi Jack,

    Thank you for getting back to me, I'm using the latest version of Xcode 5.1 and there are no whitespaces in my build path. When I go to Product > Clean and then Product > Build or Product > Run, I get 94 or so warnings (mostly deprecated warnings) and 1 error Apple LLVM 5.1 (Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1).

    I hope that helps,
    Thanks,
    Nicholaus

  • Nicholaus

    Hi Mohanjith,

    I did that and now I have 140 warnings and 2 errors:

    Apple Mach-O Linker Error -
    "_OBJC_CLASS_$_WordPressComApiCredentials", referenced from:
    objc-class-ref in WordPressAppDelegate.o
    objc-class-ref in WordPressComApi.o
    objc-class-ref in WPMobileStats.o

    Apple Mach-O Linker Error -
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    The build still fails...

    Thanks,
    Nicholaus

  • Jack Kitterhing

    Hi there @murat_yamac,

    Hope you're well today, sorry about the delay on this.

    Have you moved the location of the project files since you first downloaded them? Could you also paste the complete errors with their paths.

    Also can you package up the current app in it's current modified state to me in a zip (send to contact(at)wpmudev.org with the subject line Attn: Jack Kitterhing).

    Thanks!

    Kind Regards
    Jack.

  • murat_yamac

    I have send you mail regarding the zip file.
    I have moved the downloaded file from Downloads folder to the desktop.
    The full error message is:
    Ld /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7/Edublogs normal armv7
    cd /Users/murat/Desktop/wp-for-ios/ios/WordPress
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/binApplications/Xcode.app/Contents/Developer/usr/binusr/binbinusr/sbinsbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Products/Debug-iphoneos -F/Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Products/Debug-iphoneos -F. -FClasses -FResources -FResources-iPad -FUIAutomationTests -FVendor -FWordPress -FWordPressApi -FWordPressTest -FClasses/Edublogs -FClasses/EGOTableViewPullRefresh -FClasses/WordPress-1-2.xcmappingmodel -FClasses/WordPress-11-12.xcmappingmodel -FClasses/WordPress.xcdatamodeld -FResources/HTML -FResources/Images -FResources/Sounds -FVendor/CameraPlus -FVendor/KVO+Blocks -FVendor/MOHAColor -FVendor/PocketAPI -FVendor/xmlrpc -FWordPress/Images.xcassets -FWordPressTest/Test\ Data -FClasses/Edublogs/Resources -FClasses/WordPress.xcdatamodeld/WordPress\ 10.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 11.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 12.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 2.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 3.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 4.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 5.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 6.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 7.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 8.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 9.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress.xcdatamodel -FVendor/xmlrpc/Configurations -FVendor/xmlrpc/Languages -FVendor/xmlrpc/Resources -FVendor/xmlrpc/Tools -FVendor/xmlrpc/Unit\ Tests -FWordPress/Images.xcassets/AppIcon.appiconset -FWordPress/Images.xcassets/LaunchImage.launchimage -FVendor/xmlrpc/Resources/Property\ Lists -FVendor/xmlrpc/Resources/Test\ Cases -FVendor/xmlrpc/Tools/Test\ Client -FVendor/xmlrpc/Tools/Test\ Server -FVendor/xmlrpc/Tools/Test\ Client/Configurations -FVendor/xmlrpc/Tools/Test\ Client/Languages -FVendor/xmlrpc/Tools/Test\ Server/resources -FVendor/xmlrpc/Tools/Test\ Server/src -FVendor/xmlrpc/Tools/Test\ Server/src/com -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/controller -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/model -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/view -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/model/handlers -filelist /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7/Edublogs.LinkFileList -dead_strip -ObjC -liconv -lsqlite3 -lxml2 -lz -framework Accelerate -framework CoreGraphics -framework CoreTelephony -framework CoreText -framework Foundation -framework GoogleOpenSource -framework GooglePlus -framework ImageIO -framework MediaPlayer -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -weak_framework AdSupport -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework Social -framework MobileCoreServices -framework GoogleOpenSource -framework SystemConfiguration -framework AudioToolbox -framework CoreGraphics -framework UIKit -framework QuartzCore -weak_framework Accounts -framework AddressBook -framework MediaPlayer -framework CoreMedia -framework AVFoundation -lz -framework Foundation -framework Security -framework GooglePlus -framework MapKit -framework CoreLocation -framework CoreData -framework CFNetwork -weak_framework AssetsLibrary -framework MessageUI -liconv -framework ImageIO -lPods -framework Crashlytics -Xlinker -dependency_info -Xlinker /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7/Edublogs_dependency_info.dat -o /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7/Edublogs

    ld: library not found for -lPods
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Ld /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7s/Edublogs normal armv7s
    cd /Users/murat/Desktop/wp-for-ios/ios/WordPress
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/binApplications/Xcode.app/Contents/Developer/usr/binusr/binbinusr/sbinsbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Products/Debug-iphoneos -F/Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Products/Debug-iphoneos -F. -FClasses -FResources -FResources-iPad -FUIAutomationTests -FVendor -FWordPress -FWordPressApi -FWordPressTest -FClasses/Edublogs -FClasses/EGOTableViewPullRefresh -FClasses/WordPress-1-2.xcmappingmodel -FClasses/WordPress-11-12.xcmappingmodel -FClasses/WordPress.xcdatamodeld -FResources/HTML -FResources/Images -FResources/Sounds -FVendor/CameraPlus -FVendor/KVO+Blocks -FVendor/MOHAColor -FVendor/PocketAPI -FVendor/xmlrpc -FWordPress/Images.xcassets -FWordPressTest/Test\ Data -FClasses/Edublogs/Resources -FClasses/WordPress.xcdatamodeld/WordPress\ 10.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 11.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 12.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 2.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 3.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 4.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 5.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 6.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 7.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 8.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress\ 9.xcdatamodel -FClasses/WordPress.xcdatamodeld/WordPress.xcdatamodel -FVendor/xmlrpc/Configurations -FVendor/xmlrpc/Languages -FVendor/xmlrpc/Resources -FVendor/xmlrpc/Tools -FVendor/xmlrpc/Unit\ Tests -FWordPress/Images.xcassets/AppIcon.appiconset -FWordPress/Images.xcassets/LaunchImage.launchimage -FVendor/xmlrpc/Resources/Property\ Lists -FVendor/xmlrpc/Resources/Test\ Cases -FVendor/xmlrpc/Tools/Test\ Client -FVendor/xmlrpc/Tools/Test\ Server -FVendor/xmlrpc/Tools/Test\ Client/Configurations -FVendor/xmlrpc/Tools/Test\ Client/Languages -FVendor/xmlrpc/Tools/Test\ Server/resources -FVendor/xmlrpc/Tools/Test\ Server/src -FVendor/xmlrpc/Tools/Test\ Server/src/com -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/controller -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/model -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/view -FVendor/xmlrpc/Tools/Test\ Server/src/com/divisiblebyzero/xmlrpc/model/handlers -filelist /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7s/Edublogs.LinkFileList -dead_strip -ObjC -liconv -lsqlite3 -lxml2 -lz -framework Accelerate -framework CoreGraphics -framework CoreTelephony -framework CoreText -framework Foundation -framework GoogleOpenSource -framework GooglePlus -framework ImageIO -framework MediaPlayer -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -weak_framework AdSupport -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework Social -framework MobileCoreServices -framework GoogleOpenSource -framework SystemConfiguration -framework AudioToolbox -framework CoreGraphics -framework UIKit -framework QuartzCore -weak_framework Accounts -framework AddressBook -framework MediaPlayer -framework CoreMedia -framework AVFoundation -lz -framework Foundation -framework Security -framework GooglePlus -framework MapKit -framework CoreLocation -framework CoreData -framework CFNetwork -weak_framework AssetsLibrary -framework MessageUI -liconv -framework ImageIO -lPods -framework Crashlytics -Xlinker -dependency_info -Xlinker /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7s/Edublogs_dependency_info.dat -o /Users/murat/Library/Developer/Xcode/DerivedData/WordPress-hdleugdzalebpfejzaxhhsuydjth/Build/Intermediates/Dernekler.build/Debug-iphoneos/Dernekler.build/Objects-normal/armv7s/Edublogs

    ld: library not found for -lPods
    clang: error: linker command failed with exit code 1 (use -v to see invocation)