Closed dfreniche closed 6 years ago
Can you attach a trace log? appc ti build -p ios --build-only -l trace
Trace file attached via appc ti build -p ios --build-only -l trace > trace.txt 2>&1
The error is TiModule.h' file not found
which means that the SDK declared in titanium.xcconfig cannot be found. Change it to an SDK that is available on your machine and it will work.
Perfect! Thanks! Maybe worth a README update?
It's a common procedure for every iOS project. Maybe add it to a guide?
I have same issue although I have a pointer to right and existend SDK
TITANIUM_SDK_VERSION = 8.3.1.GA
TITANIUM_SDK = "/Users/fuerst/Library/Application Support/Titanium/mobilesdk/osx/8.3.1.GA/"
TITANIUM_BASE_SDK = "$(TITANIUM_SDK)/iphone/include"
TITANIUM_BASE_SDK2 = "$(TITANIUM_SDK)/iphone/include/TiCore"
TITANIUM_BASE_SDK3 = "$(TITANIUM_SDK)/iphone/include/JavaScriptCore"
HEADER_SEARCH_PATHS = $(TITANIUM_BASE_SDK) $(TITANIUM_BASE_SDK2) $(TITANIUM_BASE_SDK3)
FRAMEWORK_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/Frameworks"
And underneath /Users/fuerst/Library/Application Support/Titanium/mobilesdk/osx/8.3.1.GA/iphone/include/
I see the header file. I'm confused.
@AppWerft just checked with latest version of this module. At 1st it fails, because in titanium.xcconfig
file you'll see:
TITANIUM_SDK_VERSION = 9.0.0.v20200205142057
I've just changed it into
TITANIUM_SDK_VERSION = 8.3.1.GA
I haven't changed TITANIUM_SDK
so mine look like:
TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)
In short, to test this I just did:
appc ti sdk select
titanium.xcconfig
cd ios
appc ti build -p ios --build-only -l trace
It worked
ios
folder, I doappc ti build -p ios --build-only
This is what I get. Using Xcode Version 9.3 (9E145)
Any ideas? Thanks!