You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-7
Original file line number
Diff line number
Diff line change
@@ -46,13 +46,12 @@ public class ButtonBehavior : MonoBehaviour
46
46
### iOS
47
47
48
48
1. Build Unity app to `[project_root]/unity/builds/ios`
49
-
2. Open `unity/builds/ios/Unity-iPhone.xcodeproj` in XCode
50
-
3. Select Data folder and set a checkbox in the "Target Membership" section to "UnityFramework"
51
-
4. You need to select the NativeCallProxy.h inside the Libraries/Plugins/iOS folder of the Unity-iPhone project and change UnityFramework’s target membership from Project to Public. Don’t forget this step! https://miro.medium.com/max/1400/1*6v9KfxzR6olQNioUp_dFQQ.png
52
-
5. Build iOS project to iphone and test Unity App
53
-
6. Open your react-native project in XCode
54
-
7. Add `Unity-iPhone.xcodeproj` to your XCode: `File` -> `Add Files to [project_name]...` -> `[project_root]/unity/builds/ios/Unity-iPhone.xcodeproj`
55
-
8. Add `UnityFramework.framework` to `Frameworks, Libraries, and Embedded Content`
49
+
2. Add `Unity-iPhone.xcodeproj` to your XCode: press the right mouse button in the Left Navigator XCode -> `Add Files to [project_name]...` -> `[project_root]/unity/builds/ios/Unity-iPhone.xcodeproj`
50
+
3. Add `UnityFramework.framework` to `General` / section `Frameworks, Libraries, and Embedded Content`
51
+
4. Select Data folder and set a checkbox in the "Target Membership" section to "UnityFramework"
52
+
5. You need to select the NativeCallProxy.h inside the `Unity-iPhone/Libraries/Plugins/iOS` folder of the Unity-iPhone project and change UnityFramework’s target membership from Project to Public. Don’t forget this step! https://miro.medium.com/max/1400/1*6v9KfxzR6olQNioUp_dFQQ.png
53
+
6. In `Build Phases` remove UnityFramework.framework from `Linked Binary With Libraries`
54
+
7. In Build Phases move Embedded Frameworks before Compile Sources ( drag and drop )
0 commit comments