Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UnityAdsUnityWrapper.mm Arc Semantic Issue

Discussion in 'Unity Ads & User Acquisition' started by RationeUtor, Oct 2, 2016.

  1. RationeUtor

    RationeUtor

    Joined:
    Apr 25, 2015
    Posts:
    7
    Hi, I'm having some problems to compile my Xcode project using UnityAds.
    When i try to build the project, I get 20 errors of type "Arc Semantic Issue" for UnityAdsUnityWrapper.mm file.

    I tried to set Objective-C Automatic Reference Counting to false in "Build Settings" and this solved 19 errors but I still get one saying "Cannot initialize a parameter of type 'UIViewController * _Nonnull' with an lvalue of type 'NSMutableDictionary *" for the UnityAdsUnityWrapper.mm file.

    Schermata 2016-10-02 alle 17.18.56.png

    I'm using UnityAds SDK 1.0 through Services, Unity version 5.4.1f1, Xcode version 8.0 (8A218a)

    How can I solve the problem?

    Thanks
     
    Last edited: Oct 2, 2016
  2. Blazttech

    Blazttech

    Joined:
    Mar 29, 2015
    Posts:
    1
    Have you been able to figure out this problem.
     
  3. BornToParty

    BornToParty

    Joined:
    Nov 16, 2016
    Posts:
    1
    I have that same problem
     

    Attached Files: