{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/4889","repository_url":"https://api.github.com/repos/xamarin/xamarin-macios","labels_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/4889/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/4889/comments","events_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/4889/events","html_url":"https://github.com/xamarin/xamarin-macios/issues/4889","id":364836087,"node_id":"MDU6SXNzdWUzNjQ4MzYwODc=","number":4889,"title":"MT5212 not reported -> Error MT5216: Native linking failed for libSZCAAuth.dll.dylib' instead","user":{"login":"LeeCenY","id":9047094,"node_id":"MDQ6VXNlcjkwNDcwOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9047094?v=4","gravatar_id":"","url":"https://api.github.com/users/LeeCenY","html_url":"https://github.com/LeeCenY","followers_url":"https://api.github.com/users/LeeCenY/followers","following_url":"https://api.github.com/users/LeeCenY/following{/other_user}","gists_url":"https://api.github.com/users/LeeCenY/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeCenY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeCenY/subscriptions","organizations_url":"https://api.github.com/users/LeeCenY/orgs","repos_url":"https://api.github.com/users/LeeCenY/repos","events_url":"https://api.github.com/users/LeeCenY/events{/privacy}","received_events_url":"https://api.github.com/users/LeeCenY/received_events","type":"User","site_admin":false},"labels":[{"id":361456712,"node_id":"MDU6TGFiZWwzNjE0NTY3MTI=","url":"https://api.github.com/repos/xamarin/xamarin-macios/labels/bug","name":"bug","color":"ee0701","default":true},{"id":770328998,"node_id":"MDU6TGFiZWw3NzAzMjg5OTg=","url":"https://api.github.com/repos/xamarin/xamarin-macios/labels/iOS","name":"iOS","color":"edd60e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-28T10:41:17Z","updated_at":"2018-09-28T16:04:28Z","closed_at":null,"author_association":"NONE","body":"I am trying to use the ObjectiveC library in the Xamarin.iOS project. To use it, I used Objective Sharpie and created a Binding project that I referenced in the Xamarin.iOS app. The binding works, but when I build the Xamarin.iOS app, it gives me a link error.\r\n\r\n<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 -->\r\n\r\n<!--\r\nPlease fill in the *entire* template below.\r\nThe template is designed to avoid unnecessary delays to confirm and fix reported issues. Issues with missing information generally end up with a `need-info` label and take significantly more time to fix. Please help us help you!\r\nFor more information see https://github.com/xamarin/xamarin-macios/wiki/Submitting-Bugs-&-Suggestions\r\nFor support requests use https://www.xamarin.com/support\r\n-->\r\n### Steps to Reproduce\r\n\r\n1. Objective-C Sharpie and created a Binding project\r\n2. The Binding project I referenced in the Xamarin.iOS app\r\n3. Create an SZCAAuthSDK object and run it\r\n\r\n### Expected Behavior\r\nsuccessful run\r\n### Actual Behavior\r\n\r\n```\r\nError: MT5216\r\nSZCAAuth_Xamarin/obj/iPhone/Debug/device-builds/iphone10.1-12.0/mtouch-cache/arm64/libSZCAAuth.dll.dylib'. \r\n```\r\n\r\n### Environment\r\n\r\n<!--\r\n1.\r\nVisual Studio: Help > About Microsoft Visual Studio > Copy Info [button]\r\nVisual Studio for Mac: Visual Studio > About Visual Studio > Show Details > Copy Information [button]\r\n2. Paste into the code block below (between ```)\r\n-->\r\n\r\n```\r\n=== Visual Studio Community 2017 for Mac ===\r\n\r\nVersion 7.6.7 (build 49)\r\nInstallation UUID: 891dc29f-4210-4ba9-a91b-9564b6fea41d\r\nRuntime:\r\n\tMono 5.12.0.301 (2018-02/4fe3280bba1) (64-bit)\r\n\tGTK+ 2.24.23 (Raleigh theme)\r\n\tXamarin.Mac 4.4.1.178 (master / eeaeb7e6)\r\n\r\n\tPackage version: 512000301\r\n\r\n=== NuGet ===\r\n\r\nVersion: 4.3.1.4445\r\n\r\n=== .NET Core ===\r\n\r\nRuntime: /usr/local/share/dotnet/dotnet\r\nRuntime Versions:\r\n\t2.1.2\r\n\t2.1.1\r\n\t2.0.5\r\n\t2.0.0\r\nSDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks\r\nSDK Versions:\r\n\t2.1.302\r\n\t2.1.301\r\n\t2.1.4\r\n\t2.0.0\r\nMSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Sdks\r\n\r\n=== Xamarin.Profiler ===\r\n\r\nVersion: 1.6.3\r\nLocation: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler\r\n\r\n=== Apple Developer Tools ===\r\n\r\nXcode 10.0 (14320.24)\r\nBuild 10A254a\r\n\r\n=== Xamarin.Mac ===\r\n\r\nVersion: 4.6.0.14 (Visual Studio Community)\r\nHash: 1a6e2786\r\nBranch: \r\nBuild date: 2018-08-28 00:12:06-0400\r\n\r\n=== Xamarin.Android ===\r\n\r\nVersion: 9.0.0.20 (Visual Studio Community)\r\nAndroid SDK: /Users/ttlgzmac6/Library/Developer/Xamarin/android-sdk-macosx\r\n\tSupported Android versions:\r\n\t\t2.3   (API level 10)\r\n\t\t4.0.3 (API level 15)\r\n\t\t4.4   (API level 19)\r\n\t\t5.0   (API level 21)\r\n\t\t6.0   (API level 23)\r\n\t\t7.0   (API level 24)\r\n\t\t7.1   (API level 25)\r\n\t\t8.1   (API level 27)\r\n\r\nSDK Tools Version: 25.2.5\r\nSDK Platform Tools Version: 27.0.1\r\nSDK Build Tools Version: 27.0.0\r\n\r\nJava SDK: /usr\r\njava version \"1.8.0_131\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_131-b11)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)\r\n\r\nAndroid Designer EPL code available here:\r\nhttps://github.com/xamarin/AndroidDesigner.EPL\r\n\r\n=== Xamarin Inspector ===\r\n\r\nVersion: 1.4.3\r\nHash: db27525\r\nBranch: 1.4-release\r\nBuild date: Mon, 09 Jul 2018 21:20:18 GMT\r\nClient compatibility: 1\r\n\r\n=== Xamarin.iOS ===\r\n\r\nVersion: 12.0.0.15 (Visual Studio Community)\r\nHash: 84552a46\r\nBranch: xcode10\r\nBuild date: 2018-09-17 21:54:33-0400\r\n\r\n=== Build Information ===\r\n\r\nRelease ID: 706070049\r\nGit revision: 0b48ccfb376397678b3bc3653da2c6603d35357d\r\nBuild date: 2018-09-20 21:14:23+00\r\nBuild branch: release-7.6\r\nXamarin extensions: b25fd1e2b9a7859aff9536924e8edb6cbfb78637\r\n\r\n=== Operating System ===\r\n\r\nMac OS X 10.14.0\r\nDarwin 18.0.0 Darwin Kernel Version 18.0.0\r\n    Wed Aug 22 20:13:40 PDT 2018\r\n    root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64\r\n\r\n\r\n```\r\n\r\n### Build Logs\r\n\r\n<!--\r\n1. Place cursor below this comment block.\r\n2. Attach build log or link to gist (https://gist.github.com/) of the log.\r\n-->\r\nhttps://gist.github.com/LeeCenY/3498ece0dd9dd18176341cbf87747596#file-gistfile1-txt-L134\r\n\r\n### Example Project (If Possible)\r\n\r\n<!--\r\n1. Place cursor below this comment block.\r\n2. Drag and drop the compressed project or files needed to reproduce.\r\n-->\r\n\r\n<!--\r\nSwitch to the \"Preview\" tab to ensure your issue renders correctly.\r\n-->\r\n- Objective-C library：\r\nhttps://www.dropbox.com/s/73x93ax3raqh6hw/szca-auth-sdk-ios-3.0.zip?dl=0\r\n- Binding project and sample application:\r\nhttps://www.dropbox.com/s/hq0np628p8atgf3/SZCAAuthBind.zip?dl=0\r\n"},"comment":{"url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/comments/425484430","html_url":"https://github.com/xamarin/xamarin-macios/issues/4889#issuecomment-425484430","issue_url":"https://api.github.com/repos/xamarin/xamarin-macios/issues/4889","id":425484430,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTQ4NDQzMA==","user":{"login":"LeeCenY","id":9047094,"node_id":"MDQ6VXNlcjkwNDcwOTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9047094?v=4","gravatar_id":"","url":"https://api.github.com/users/LeeCenY","html_url":"https://github.com/LeeCenY","followers_url":"https://api.github.com/users/LeeCenY/followers","following_url":"https://api.github.com/users/LeeCenY/following{/other_user}","gists_url":"https://api.github.com/users/LeeCenY/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeCenY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeCenY/subscriptions","organizations_url":"https://api.github.com/users/LeeCenY/orgs","repos_url":"https://api.github.com/users/LeeCenY/repos","events_url":"https://api.github.com/users/LeeCenY/events{/privacy}","received_events_url":"https://api.github.com/users/LeeCenY/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T16:04:28Z","updated_at":"2018-09-28T16:04:28Z","author_association":"NONE","body":"@VincentDondain Hi\r\n\r\nGoogle Translate:\r\nI want to add other 'GDataXML_HTML', 'WebViewJavascriptBridge' and 'XMLDictionary' dependencies, but I will refer to them directly when I encounter Foundation NSXMLParser missing. The framework does not know if it works, OpenSSL can't turn, and the newcomer has been researching for more than a week. Time is up, there are still many problems that don’t understand\r\n\r\n1.Request that the provider of the native library fix it and provide the updated version. (Already the latest, SDK is done by others)\r\n2.Fix it yourself by removing the extra object files (this only works if the problem is in fact duplicated object files) (Trying to delete libcrypto.a, but another problem, the SDK needs to use libcrypto.a, delete also Not real)\r\n3.All third-party bindings' [LinkWith] attributes have enabled SmartLink: (There is libszca-auth-sdk-fat.a SmartLink = true)\r\n\r\n\r\nThe following two do not know how to do it, return to the company tomorrow to study the following\r\nNo -gcc_flags is passed to mtouch (in the additional mtouch arguments field of the project's iOS Build options).\r\n\r\nIt's also possible to ask the linker directly to remove unused code by adding -gcc_flags -dead_strip to the additional mtouch arguments in the project's iOS Build options.\r\n"}}
{"actor":{"display_login":"LeeCenY"}}