Closed oakleaf closed 6 years ago
Hey there, I forgot to mark it as a prerelease version. The final release is expected for next week, please use 3.8.0 until then.
Hey there, did you test with the latest version? 3.9.0 is ready.
3.9.0 was just released.
Had this error even with the latest 3.9.0 version from today
Works great for me
Med vänlig hälsning, Mathias Eklöf +46 (0)70 30 555 31 Metopia AB - metopia.se
12 sep. 2017 kl. 19:10 skrev Michael notifications@github.com:
Had this error even with the latest 3.9.0 version from today
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
interesting, I'll check it again tomorrow with a fresh project.
@m1ga Full trace log?
...
[INFO] Invoking xcodebuild
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR] Ld build/Products/Debug-iphonesimulator/GGv2.app/GGv2 normal x86_64
[ERROR] (1 failure)
SDK 6.1.2.GA Found Titanium module id=ti.googlemaps version=3.9.0
If I remove <module>ti.googlemaps</module>
it compiles fine again.
@m1ga Full trace log? 🙄 😃 It should throw the actual error before. And does it change something to use 6.2.0? The PlacesPicker one might be a dynamic framework.
No, everything before is just the normal ti cli stuff:
[INFO] Alloy compiled in 1.84295s
[INFO] Alloy compiler completed successfully
[INFO] Creating Xcode project
[INFO] Creating Entitlements.plist
[INFO] Creating Info.plist
[INFO] Disabling ATS
[INFO] Creating main.m
[INFO] Creating Xcode config files
[INFO] Copying Titanium libraries
[INFO] Copying Titanium iOS files
[INFO] Cleaning Xcode derived data
[INFO] Creating debugger and profiler plists
[INFO] Analyzing Resources directory
[INFO] Analyzing platform files
[INFO] Analyzing module files
[INFO] Analyzing localized launch images
[INFO] Analyzing CommonJS modules
[INFO] Analyzing CommonJS module: reste
[INFO] Creating asset catalog
[INFO] Creating app icon set
[WARN] The default icon "DefaultIcon.png" contains an alpha channel and will be flattened against a white background
[WARN] You may create an image named "DefaultIcon-ios.png" that does not have an alpha channel in the root of your project
[WARN] It is highly recommended that the DefaultIcon.png be 1024x1024
[INFO] Missing 11 app icons, generating missing icons
[INFO] appicon-Small.png - Used for iPad - size: 29x29
[INFO] appicon-Small@2x.png - Used for iPhone, iPad - size: 58x58
[INFO] appicon-Small@3x.png - Used for iPhone - size: 87x87
[INFO] appicon-Small-40.png - Used for iPad - size: 40x40
[INFO] appicon-Small-40@2x.png - Used for iPhone, iPad - size: 80x80
[INFO] appicon-Small-40@3x.png - Used for iPhone - size: 120x120
[INFO] appicon-60@2x.png - Used for iPhone - size: 120x120
[INFO] appicon-60@3x.png - Used for iPhone - size: 180x180
[INFO] appicon-76.png - Used for iPad - size: 76x76
[INFO] appicon-76@2x.png - Used for iPad - size: 152x152
[INFO] appicon-83.5@2x.png - Used for iPad - size: 167x167
[INFO] Creating launch image set
[INFO] App thinning disabled, skipping asset image sets
[INFO] Processing JavaScript files
[INFO] Writing app properties
[INFO] Writing i18n files
[INFO] Processing Titanium symbols
[INFO] Removing files
[INFO] Invoking xcodebuild
it just stops with build-failed
btw: its not the build-error while building the module, it is a build error while using the module and building an app!
Sorry, but this is still no trace log. You need to set the TRACE flag in studio or use --log-level trace
in your CLI build.
ah sorry, my fault
[TRACE] Ld build/Products/Debug-iphonesimulator/GGv2.app/GGv2 normal x86_64
[TRACE] cd /Users/Development/GG/build/iphone
[TRACE] export IPHONEOS_DEPLOYMENT_TARGET=8.0
[TRACE] export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/appdev/Development/AndroidSDK/platform-tools:/Users/mga/Library/Application Support/Titanium/mobilesdk/osx:/Users/appdev/Development/AndroidSDK/tools:/Users/appdev/Development/AndroidNDK"
[TRACE] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -L/Users/Development/GG/build/iphone/build/Products/Debug-iphonesimulator -L/Users/Development/GG/build/iphone/lib -L/Users/Development/GG/build/iphone/Classes/APSAnalytics -L/Users/Development/GruenguertelA[TRACE] Ld build/Products/Debug-iphonesimulator/GGv2.app/GGv2 normal x86_64
[TRACE] cd /Users/Development/GG/build/iphone
[TRACE] export IPHONEOS_DEPLOYMENT_TARGET=8.0
[TRACE] export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/appdev/Development/AndroidSDK/platform-tools:/Users/mga/Library/Application Support/Titanium/mobilesdk/osx:/Users/appdev/Development/AndroidSDK/tools:/Users/appdev/Development/AndroidNDK"
[TRACE] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -L/Users/Development/GG/build/iphone/build/Products/Debug-iphonesimulator -L/Users/Development/GG/build/iphone/lib -L/Users/Development/GG/build/iphone/Classes/APSAnalytics -L/Users/Development/GG/build/iphone/Classes/APSHTTPClient -L/appsupport/Titanium/modules/iphone/ti.map/2.12.0 -L/Users/Development/GG/modules/iphone/ti.googlemaps/3.9.0 -L/Users/Development/GG/modules/iphone/dk.napp.slidemenu/1.4.3 -L/Users/Development/GG/modules/iphone/dk.napp.social/1.8.4 -L/Users/Development/GG/modules/iphone/facebook/5.4.0 -F/Users/Development/GG/build/iphone/build/Products/Debug-iphonesimulator -F/Users/Development/GG/build/iphone/../../modules/iphone/ti.googlemaps/2.12.0/platform -F/appsupport/Titanium/modules/iphone/ti.googlemaps/2.12.0/platform -F/Users/Development/GG/build/iphone/../../modules/iphone/facebook/5.4.0/platform -F/appsupport/Titanium/modules/iphone/facebook/5.4.0/platform -filelist /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/Objects-normal/x86_64/GGv2.LinkFileList -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/Objects-normal/x86_64/GGv2_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -stdlib=libc++ -ObjC -weak_framework MapKit -weak_framework MapKit -framework Accelerate -framework AVFoundation -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework CoreLocation -framework CoreText -framework GLKit -framework ImageIO -lobjc -lc++ -lz -licucore -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GooglePlaces -framework GooglePlacePicker -framework Accelerate -framework AVFoundation -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework CoreLocation -framework CoreText -framework GLKit -framework ImageIO -lobjc -lc++ -lz -licucore -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GooglePlaces -framework GooglePlacePicker -framework QuartzCore -framework CoreGraphics -framework QuartzCore -framework CoreGraphics -weak_framework Social -weak_framework Accounts -weak_framework Social -weak_framework Accounts -framework Social -framework FBSDKCoreKit -framework FBSDKLoginKit -framework FBSDKShareKit -framework FBSDKMessengerShareKit -framework Bolts -framework Social -framework FBSDKCoreKit -framework FBSDKLoginKit -framework FBSDKShareKit -framework FBSDKMessengerShareKit -framework Bolts -weak-lti_ios_profiler -weak-lti_ios_debugger -weak-lTiCore -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/GGv2.app.xcent -weak_framework iAd -framework CoreMedia -weak_framework CoreMotion -lAPSAnalytics -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -licucore -framework Foundation -weak_framework UIKit -framework CoreGraphics -weak_framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -lxml2 -lAPSHTTPClient -ltiverify -lti.map -lti.googlemaps -ldk.napp.slidemenu -ldk.napp.social -lfacebook -Xlinker -dependency_info -Xlinker /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/Objects-normal/x86_64/GGv2_dependency_info.dat -o /Users/Development/GG/build/iphone/build/Products/Debug-iphonesimulator/GGv2.app/GGv2
[TRACE] ld: warning: directory not found for option '-F/Users/Development/GG/build/iphone/../../modules/iphone/ti.googlemaps/2.12.0/platform'
[TRACE] ld: warning: directory not found for option '-F/Users/mga/Library/Application Support/Titanium/modules/iphone/ti.googlemaps/2.12.0/platform'
[TRACE] ld: framework not found GoogleMaps
[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR] Ld build/Products/Debug-iphonesimulator/GGv2.app/GGv2 normal x86_64
[ERROR] (1 failure)
pp/build/iphone/Classes/APSHTTPClient -L/appsupport/Titanium/modules/iphone/ti.map/2.12.0 -L/Users/Development/GG/modules/iphone/ti.googlemaps/3.9.0 -L/Users/Development/GG/modules/iphone/dk.napp.slidemenu/1.4.3 -L/Users/Development/GG/modules/iphone/dk.napp.social/1.8.4 -L/Users/Development/GG/modules/iphone/facebook/5.4.0 -F/Users/Development/GG/build/iphone/build/Products/Debug-iphonesimulator -F/Users/Development/GG/build/iphone/../../modules/iphone/ti.googlemaps/2.12.0/platform -F/appsupport/Titanium/modules/iphone/ti.googlemaps/2.12.0/platform -F/Users/Development/GG/build/iphone/../../modules/iphone/facebook/5.4.0/platform -F/appsupport/Titanium/modules/iphone/facebook/5.4.0/platform -filelist /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/Objects-normal/x86_64/GGv2.LinkFileList -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/Objects-normal/x86_64/GGv2_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -stdlib=libc++ -ObjC -weak_framework MapKit -weak_framework MapKit -framework Accelerate -framework AVFoundation -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework CoreLocation -framework CoreText -framework GLKit -framework ImageIO -lobjc -lc++ -lz -licucore -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GooglePlaces -framework GooglePlacePicker -framework Accelerate -framework AVFoundation -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework CoreLocation -framework CoreText -framework GLKit -framework ImageIO -lobjc -lc++ -lz -licucore -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GooglePlaces -framework GooglePlacePicker -framework QuartzCore -framework CoreGraphics -framework QuartzCore -framework CoreGraphics -weak_framework Social -weak_framework Accounts -weak_framework Social -weak_framework Accounts -framework Social -framework FBSDKCoreKit -framework FBSDKLoginKit -framework FBSDKShareKit -framework FBSDKMessengerShareKit -framework Bolts -framework Social -framework FBSDKCoreKit -framework FBSDKLoginKit -framework FBSDKShareKit -framework FBSDKMessengerShareKit -framework Bolts -weak-lti_ios_profiler -weak-lti_ios_debugger -weak-lTiCore -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/GGv2.app.xcent -weak_framework iAd -framework CoreMedia -weak_framework CoreMotion -lAPSAnalytics -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -licucore -framework Foundation -weak_framework UIKit -framework CoreGraphics -weak_framework AddressBook -framework AddressBookUI -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lsqlite3 -lz -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -lxml2 -lAPSHTTPClient -ltiverify -lti.map -lti.googlemaps -ldk.napp.slidemenu -ldk.napp.social -lfacebook -Xlinker -dependency_info -Xlinker /Users/Development/GG/build/iphone/build/Intermediates/GGv2.build/Debug-iphonesimulator/GGv2.build/Objects-normal/x86_64/GGv2_dependency_info.dat -o /Users/Development/GG/build/iphone/build/Products/Debug-iphonesimulator/GGv2.app/GGv2
[TRACE] ld: warning: directory not found for option '-F/Users/Development/GG/build/iphone/../../modules/iphone/ti.googlemaps/2.12.0/platform'
[TRACE] ld: warning: directory not found for option '-F/Users/mga/Library/Application Support/Titanium/modules/iphone/ti.googlemaps/2.12.0/platform'
[TRACE] ld: framework not found GoogleMaps
[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR] Ld build/Products/Debug-iphonesimulator/GGv2.app/GGv2 normal x86_64
[ERROR] (1 failure)
I'm using the normal ti.map and didn't add platform=android
and it tries to load ti.googlemaps with the same version number as ti.map!
I've changed the module line to <module platform="android">ti.map</module>
and now it works!
<module platform="android">ti.map</module>
<module platform="commonjs">reste</module>
<module platform="iphone">ti.googlemaps</module>
<module platform="android">com.tripvi.drawerlayout</module>
<module platform="android">com.alcoapps.actionbarextras</module>
<module platform="iphone">dk.napp.slidemenu</module>
<module platform="iphone">dk.napp.social</module>
<module>facebook</module>
Something is from with your setup - it tries to find the version "2.12.0" of ti.googlemaps, which should be correct for ti.map but does not make sense here. Weird issue.
Hello, I just downloaded 3.9 and it gives me an error when building.
[ERROR] : BUILD FAILED [ERROR] : The following build commands failed: [ERROR] : Ld build/Intermediates/Mappy.build/Debug-iphoneos/Mappy.build/Objects-normal/arm64/Mappy normal arm64 [ERROR] : (1 failure)
Any idea what to do?