This article is simultaneously published on my wechat official account. You can follow it by scanning the QR code at the bottom of the article or searching HelloWorld Jieshao on wechat.
preface
In the last article, I shared with you how to implement button event response in UE4. If you follow my steps, it should be very easy to implement button event response. Originally, this article was to share with you how UE4 development interacts with the data native to iOS. But I changed it temporarily, because UE4 development still has a lot of unfriendly places for beginners, basically is a continuous pit filling process, so today I will first write an article about pit filling.
Since UE4 is a cross-platform game engine, we also need to debug the game in Xcode, view logs and other operations; I believe that many iOS developers who are new to UE4 will encounter the debugging signature error during compilation, but switch to the project created by Xcode itself and find that the signature certificate is matched, often wasting a lot of precious time on the signature problem. So today I will share with you how to configure UE4 Xcode debugging environment.
1. Request the signing certificate from the Apple Development background
- Enter developer.apple.com/ in the browser to open the Apple Developer background and enter your account password to log in.
- Create certificates, debug certificates and select iOS App Development (this is important, don’t select multi-platform compatible certificates), publish certificates and select iOS Distribution;
- Create your own bundleId.
- Add debugable iOS devices
- Generate the Profiles signature file and select the previously generated certificate. If it is a developer signature, check all the previously added devices.
- Double-click the generated certificate signature to install both of them on the Mac device.
2. Open the XCode project and configure the signature certificate
- Open the project and select the corresponding Target. Open Signing & Capabilities and select Development, as shown in the picture:
-
Enter the corresponding valid value in the Bundle Identifier, for example com.xxxx.teSTUe4demo
-
If there is no value in the Team, you need to log in to the developer account in Xcode, as shown below:
- Open Build Settings and select the supported platform as iOS, not MacOS
- Set it to Development in the Edit Scheme
- Open Signing & Capabilities to select the correct signature
- Plug in your iOS device, wait until Xcode identifies your device, select the device, and press CMD +R to debug
3. Configure the iOS debugging environment on the Windows platform
- Open the project profile in the UE4 editor and find the iOS platform
- Set the package identifier bundleID
3. Import the signing certificate and display the Valid certificate
- Plug in the device and debug it
At the end
This article ends here, because this article is a guidance article, so it does not involve complex knowledge points, if you encounter problems in the process of setting up the debugging environment, you can communicate with me by leaving a message, you can also follow my wechat public account “HelloWorld Jieshao “to communicate with me, thank you; In addition, today is Monday, I hope you can get more development knowledge in the new week!
Related reading:
How does UE4 interact with native iOS data
UE4 Development how to create iOS platform plug-ins
UE4 development implements button event response
UE4 development configuration Xcode debugging environment
Please drink a cup ☕️ + attention oh ~
-
After reading, remember to give me a thumbs-up oh, there is 👍 power
-
Follow the public number – HelloWorld Jie Shao, the first time push new posture