NICE1 DevPortal
  • 👾NICE1
  • NICE1 PLUGIN
    • Introduction
    • ChangeLogs
    • Unity Plugin
      • How to use
      • Play Login!!!!
      • How Login works
      • Play CharacterSelector!!!!
      • How CharacterSelector works
      • Troubleshooting
    • Unreal Plugin
    • Frequently Asked Questions
      • Compile the plugin for iOS
      • Add the plugin to the Unity XCode project.
  • NICE1 LINK
    • Introduction
  • SmartContracts
    • nice1swapper
    • nice1staking
    • n1licensepos
  • TestNet "Jungle4"
    • Create EOS Account (Testnet)
    • Create NFT (contract)
  • 🔗ADDITIONAL LINKS
    • Developers group (TG|ENG)
Powered by GitBook
On this page

Was this helpful?

  1. NICE1 PLUGIN
  2. Frequently Asked Questions

Add the plugin to the Unity XCode project.

PreviousCompile the plugin for iOSNextIntroduction

Last updated 3 months ago

Was this helpful?

  1. In the Unity project, copy the files resulting from the compilation of the iOS plugin. The output files are:

2. Copy them to the Assets/Plugin/iOS path

  1. Once the build is done, open the resulting XCode project. Curl must be in the frameworks section and in the Target Membership only UnityFramework appears.

4. For both Target Unity-iPhone and UnityFramework, the Search Path properties must include the directory where the Curl library is located recursively. The library will be found in the relative directory Frameworks/Plugins/iOS/curl.framework

  1. For UnityFramework, in the “Other Linker Flags” property, add -lz

  1. Configuring Build Phases for Unity-iPhone

  1. Configuring Build Phases for UnityFramework. Check that the libraries are found: libz.tbd, curl.framework and libiosBasicPlugin.a