Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Custom swift framework in Unity iOS game

$
0
0
I have created a swift framework and implemented it into my Unity project in the same way as it is done in the following tutorials: https://medium.com/@kevinhuyskens/implementing-swift-in-unity-53e0b668f895 https://medium.com/@SoCohesive/unity-how-to-build-a-bridge-ios-to-unity-with-swift-f23653f6261 The project builds and runs perfectly on my iPhone. However, I get the following errors when uploading to the App Store: This bundle is invalid - The Info.plist file for /Payload/MyApp.app/Data/Raw/SwiftPlugin.framework is missing or could not be read. Invalid Bundle - The bundle at '/Payload/MyApp.app/Data/Raw/SwiftPlugin.framework' does not contain a bundle executable. The swift framework was placed in the "StreamingAssets" folder in Unity, so that it is copied through to the Xcode project. I also used the same post processing script as seen in the first tutorial. The swift framework is in a folder called "Raw" in the Xcode project, if I try moving it to the frameworks folder I get the error "Linker command failed with exit code(use -v to see invocation)" when building the application. Any help would be much appreciated

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>