I have created binding for iOS static library, which has linkwith.cs like this:
[assembly: LinkWith ("libAppoxeeInappUniversal.a", LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Simulator|LinkTarget.Arm64, SmartLink = false, ForceLoad = true, Frameworks = "WebKit")]
I must to set SmartLink to false, otherwise it returns null for singleton value from the static library.
Then when I trigger one API call ( from the binding/static library) on simulator, it returns array of objects with all properties set up well:
Message object has properties content, messageId, status, subject, ...
When I fire same API call when app is on real device, I got same array of messages, but there is none of previous mentioned properties:
The Framework which builds static library is written also by my team and me, and there is no any logic which will divide simulator and real device. It just returns list of messages.
When i run lipo -info for static lib I got output:
Architectures in the fat file: libAppoxeeSDKUniversal.a are: armv7 i386 x86_64 arm64
Can anyone point me somewhere? Why is this happening?