@dolami-inc/react-native-expo-unity 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,18 +42,18 @@ Pod::Spec.new do |s|
42
42
  # The [sdk=iphoneos*] conditional ensures these settings only apply when
43
43
  # building for a physical device, not the Simulator SDK.
44
44
  s.pod_target_xcconfig = {
45
- 'HEADER_SEARCH_PATHS' => "\"#{unity_ios_dir}/UnityFramework.framework/Headers\"",
46
- 'FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]' => "\"#{unity_ios_dir}\"",
47
- 'OTHER_LDFLAGS[sdk=iphoneos*]' => unity_ldflags.join(' '),
45
+ 'HEADER_SEARCH_PATHS' => "$(inherited) \"#{unity_ios_dir}/UnityFramework.framework/Headers\"",
46
+ 'FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]' => "$(inherited) \"#{unity_ios_dir}\"",
47
+ 'OTHER_LDFLAGS[sdk=iphoneos*]' => "$(inherited) #{unity_ldflags.join(' ')}",
48
48
  'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
49
- 'GCC_PREPROCESSOR_DEFINITIONS' => 'UNITY_FRAMEWORK=1',
49
+ 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) UNITY_FRAMEWORK=1',
50
50
  'ENABLE_BITCODE' => 'NO'
51
51
  }
52
52
 
53
53
  s.user_target_xcconfig = {
54
54
  'ENABLE_BITCODE' => 'NO',
55
- 'FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]' => "\"#{unity_ios_dir}\"",
56
- 'LIBRARY_SEARCH_PATHS[sdk=iphoneos*]' => "\"#{unity_ios_dir}\"",
57
- 'OTHER_LDFLAGS[sdk=iphoneos*]' => unity_ldflags.join(' ')
55
+ 'FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]' => "$(inherited) \"#{unity_ios_dir}\"",
56
+ 'LIBRARY_SEARCH_PATHS[sdk=iphoneos*]' => "$(inherited) \"#{unity_ios_dir}\"",
57
+ 'OTHER_LDFLAGS[sdk=iphoneos*]' => "$(inherited) #{unity_ldflags.join(' ')}"
58
58
  }
59
59
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolami-inc/react-native-expo-unity",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Unity as a Library (UaaL) bridge for React Native / Expo",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",