title: Unity3D iOS export error - No matching function for call to 'objc_msgSendSuper'
body: <p>I tried to export my Unity3D project for iOS, but I keep getting this error:</p>
  
  <pre><code>No matching function for call to 'objc_msgSendSuper'
  
  [DIRECTORY]/Classes/UI/UnityViewControllerBase+iOS.mm:166:5: No matching function for call to 'objc_msgSendSuper'
  
  [DIRECTORY]/Classes/UI/UnityViewControllerBase+iOS.mm:180:5: No matching function for call to 'objc_msgSendSuper'
  
  [DIRECTORY]/Classes/UI/UnityViewControllerBase+iOS.mm:210:5: No matching function for call to 'objc_msgSendSuper'
  </code></pre>
  
  <p>I also get the following hints:</p>
  
  <pre><code>[DIRECTORY]/Classes/Unity/ObjCRuntime.h:20:43: Expanded from macro 'UNITY_OBJC_FORWARD_TO_SUPER'
  
  [DIRECTORY]/Classes/Unity/ObjCRuntime.h:11:60: Expanded from macro 'UNITY_OBJC_SEND_MSG'
  
  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/message.h:65:1: Candidate function not viable: requires 0 arguments, but 4 were provided
  </code></pre>
  
  <p>XCode marks the following lines of code:</p>
  
  <pre><code>UNITY_OBJC_FORWARD_TO_SUPER(self_, [UIViewController class], @selector(willRotateToInterfaceOrientation:duration:), WillRotateToInterfaceOrientationSendFunc, toInterfaceOrientation, duration);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>UNITY_OBJC_FORWARD_TO_SUPER(self_, [UIViewController class], @selector(didRotateFromInterfaceOrientation:), DidRotateFromInterfaceOrientationSendFunc, fromInterfaceOrientation);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>UNITY_OBJC_FORWARD_TO_SUPER(self_, [UIViewController class], @selector(viewWillTransitionToSize:withTransitionCoordinator:), ViewWillTransitionToSizeSendFunc, size, coordinator);
  </code></pre>
  
  <p>I've tested to build the app on a simulated iPhone X (iOS 11.4).</p>
  
  <p>Can anyone tell me how to fix this?</p>
  
  <p>MacOS: HighSierra 10.13.4
  Unity3D (Personal): 2018.1.1f1
  XCode: 9.4</p>