Building for iOS issue: GTMSessionFetcher + GoogleToolboxForMac

ld: warning: directory not found for option '-L/.../ios/build/Release-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/.../ios/build/Debug-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/.../ios/build/Debug-iphoneos/GTMSessionFetcher'
ld: warning: directory not found for option '-F/.../ios/build/Debug-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-F/.../ios/build/Debug-iphoneos/GTMSessionFetcher'
ld: library not found for -lGTMSessionFetcher
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Can’t seem to build for iOS. Android is fine. I tried adding them Link Binary with Libraries, but still stuck.

package.json

"react": "16.0.0-alpha.6",
"react-native": "0.44.2",
"react-native-firebase": "^1.1.0",

Podfile

target 'sample' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  use_frameworks!
  # Pods for 'sample'
end

# RNFirebase
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'

Author: Fantashit

2 thoughts on “Building for iOS issue: GTMSessionFetcher + GoogleToolboxForMac

Comments are closed.

Building for iOS issue: GTMSessionFetcher + GoogleToolboxForMac

ld: warning: directory not found for option '-L/.../ios/build/Release-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/.../ios/build/Debug-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/.../ios/build/Debug-iphoneos/GTMSessionFetcher'
ld: warning: directory not found for option '-F/.../ios/build/Debug-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-F/.../ios/build/Debug-iphoneos/GTMSessionFetcher'
ld: library not found for -lGTMSessionFetcher
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Can’t seem to build for iOS. Android is fine. I tried adding them Link Binary with Libraries, but still stuck.

package.json

"react": "16.0.0-alpha.6",
"react-native": "0.44.2",
"react-native-firebase": "^1.1.0",

Podfile

target 'sample' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  use_frameworks!
  # Pods for 'sample'
end

# RNFirebase
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'

Author: Fantashit

4 thoughts on “Building for iOS issue: GTMSessionFetcher + GoogleToolboxForMac

Comments are closed.

Building for iOS issue: GTMSessionFetcher + GoogleToolboxForMac

ld: warning: directory not found for option '-L/.../ios/build/Release-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/.../ios/build/Debug-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-L/.../ios/build/Debug-iphoneos/GTMSessionFetcher'
ld: warning: directory not found for option '-F/.../ios/build/Debug-iphoneos/GoogleToolboxForMac'
ld: warning: directory not found for option '-F/.../ios/build/Debug-iphoneos/GTMSessionFetcher'
ld: library not found for -lGTMSessionFetcher
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

Can’t seem to build for iOS. Android is fine. I tried adding them Link Binary with Libraries, but still stuck.

package.json

"react": "16.0.0-alpha.6",
"react-native": "0.44.2",
"react-native-firebase": "^1.1.0",

Podfile

target 'sample' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  use_frameworks!
  # Pods for 'sample'
end

# RNFirebase
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'

Author: Fantashit

1 thought on “Building for iOS issue: GTMSessionFetcher + GoogleToolboxForMac

Comments are closed.