Skip to content

Commit

Permalink
fix(ios): tweak titanium.xcconfig template to use variables in sdk path
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy committed Sep 18, 2020
1 parent ff27c9b commit 7da6dbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ TITANIUM_SDK_VERSION = <%- tisdkVersion %>
//
// THESE SHOULD BE OK GENERALLY AS-IS
//
TITANIUM_SDK = <%- tisdkPath %>
TITANIUM_SDK = <%- tisdkPath.slice(0, tisdkPath.length - (tisdkVersion.length + 1)).replace(/^\/Users\/[^\/]+\//, '/Users/$(USER)/') %>/$(TITANIUM_SDK_VERSION)
HEADER_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/include"
FRAMEWORK_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/Frameworks/**"

0 comments on commit 7da6dbd

Please sign in to comment.