Unable to build IOS version, all libraries not found, paths correct.

456 views
Skip to first unread message

Aaron

unread,
May 29, 2017, 6:46:22 PM5/29/17
to Osmand
I am trying to build the IOS version of OSMand. I am running prepare.sh and prebuild-core.sh prior to opening the project.

When i go to build the project it always fails with a linker fatal error trying to find the libraries. 

These are the errors i receive, for all linked libraries:

"ld: library not found for -lAFDownloadRequestOperation"
"ld: library not found for -lAFNetworking"
... etc, one after another.

I verified the config file paths, and they are correct. The paths lead to the files they point to, which do exist at that specified path.

I am running XCODE 8.3.2, and latest master branches for all OSMand files (ios/core/build/resources/etc..)

Additionally i am getting the following when the pods install: "xcodeproj was renamed to project. Please use that from now on."

my .xcconfig (all paths exist)

FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/FirebaseAnalytics/Frameworks" "${PODS_ROOT}/FirebaseCore/Frameworks" "${PODS_ROOT}/FirebaseInstanceID/Frameworks"

GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1

HEADER_SEARCH_PATHS = $(inherited) ${PODS_ROOT}/Firebase/Core/Sources $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFDownloadRequestOperation" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/CocoaSecurity" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/FFCircularProgressView" "${PODS_ROOT}/Headers/Public/Firebase" "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" "${PODS_ROOT}/Headers/Public/FirebaseCore" "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" "${PODS_ROOT}/Headers/Public/FormatterKit" "${PODS_ROOT}/Headers/Public/GoogleToolboxForMac" "${PODS_ROOT}/Headers/Public/HTAutocompleteTextField" "${PODS_ROOT}/Headers/Public/JASidePanels" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/QuickDialog" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/RegexKitLite" "${PODS_ROOT}/Headers/Public/SWTableViewCell" "${PODS_ROOT}/Headers/Public/TPKeyboardAvoiding" "${PODS_ROOT}/Headers/Public/UIActionSheet-Blocks" "${PODS_ROOT}/Headers/Public/UIAlertView-Blocks"

LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFDownloadRequestOperation" "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking" "$PODS_CONFIGURATION_BUILD_DIR/CocoaSecurity" "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress" "$PODS_CONFIGURATION_BUILD_DIR/FFCircularProgressView" "$PODS_CONFIGURATION_BUILD_DIR/FormatterKit" "$PODS_CONFIGURATION_BUILD_DIR/GoogleToolboxForMac" "$PODS_CONFIGURATION_BUILD_DIR/HTAutocompleteTextField" "$PODS_CONFIGURATION_BUILD_DIR/JASidePanels" "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD" "$PODS_CONFIGURATION_BUILD_DIR/QuickDialog" "$PODS_CONFIGURATION_BUILD_DIR/Reachability" "$PODS_CONFIGURATION_BUILD_DIR/RegexKitLite" "$PODS_CONFIGURATION_BUILD_DIR/SWTableViewCell" "$PODS_CONFIGURATION_BUILD_DIR/TPKeyboardAvoiding" "$PODS_CONFIGURATION_BUILD_DIR/UIActionSheet-Blocks" "$PODS_CONFIGURATION_BUILD_DIR/UIAlertView-Blocks"

OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFDownloadRequestOperation" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" -isystem "${PODS_ROOT}/Headers/Public/CocoaSecurity" -isystem "${PODS_ROOT}/Headers/Public/DACircularProgress" -isystem "${PODS_ROOT}/Headers/Public/FFCircularProgressView" -isystem "${PODS_ROOT}/Headers/Public/Firebase" -isystem "${PODS_ROOT}/Headers/Public/FirebaseAnalytics" -isystem "${PODS_ROOT}/Headers/Public/FirebaseCore" -isystem "${PODS_ROOT}/Headers/Public/FirebaseInstanceID" -isystem "${PODS_ROOT}/Headers/Public/FormatterKit" -isystem "${PODS_ROOT}/Headers/Public/GoogleToolboxForMac" -isystem "${PODS_ROOT}/Headers/Public/HTAutocompleteTextField" -isystem "${PODS_ROOT}/Headers/Public/JASidePanels" -isystem "${PODS_ROOT}/Headers/Public/MBProgressHUD" -isystem "${PODS_ROOT}/Headers/Public/QuickDialog" -isystem "${PODS_ROOT}/Headers/Public/Reachability" -isystem "${PODS_ROOT}/Headers/Public/RegexKitLite" -isystem "${PODS_ROOT}/Headers/Public/SWTableViewCell" -isystem "${PODS_ROOT}/Headers/Public/TPKeyboardAvoiding" -isystem "${PODS_ROOT}/Headers/Public/UIActionSheet-Blocks" -isystem "${PODS_ROOT}/Headers/Public/UIAlertView-Blocks"

OTHER_LDFLAGS = $(inherited) -ObjC -l"AFDownloadRequestOperation" -l"AFNetworking" -l"CocoaSecurity" -l"DACircularProgress" -l"FFCircularProgressView" -l"FormatterKit" -l"GoogleToolboxForMac" -l"HTAutocompleteTextField" -l"JASidePanels" -l"MBProgressHUD" -l"QuickDialog" -l"Reachability" -l"RegexKitLite" -l"SWTableViewCell" -l"TPKeyboardAvoiding" -l"UIActionSheet-Blocks" -l"UIAlertView-Blocks" -l"c++" -l"icucore" -l"sqlite3" -l"z" -framework "AddressBook" -framework "AddressBookUI" -framework "CoreGraphics" -framework "CoreLocation" -framework "FirebaseAnalytics" -framework "FirebaseCore" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "MobileCoreServices" -framework "QuartzCore" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration"

PODS_BUILD_DIR = $BUILD_DIR

PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

PODS_ROOT = ${SRCROOT}/Pods


Anyone have ideas on what is going wrong?

thanks for the help.

Reply all
Reply to author
Forward
0 new messages