Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC:

Net6 iOS build problem 8 months 1 week ago #15824

  • directum.apps
  • directum.apps's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
We encountered an issue when trying to build Xamarin iOS application on .Net6 framework with the following errors (the log is redacted for the sake of bravity):

Undefined symbols for architecture arm64:
...
ld: warning: arm64 function not 4-byte aligned: _vgray_from_alpha from /Users/user/Documents/App/obj/Debug/net6.0-ios/ios-arm64/linker-cache/libPDF_iOS.a(RDEXT64.o)
ld: warning: arm64 function not 4-byte aligned: _vrgba_from_pals from /Users/user/Documents/App/obj/Debug/net6.0-ios/ios-arm64/linker-cache/libPDF_iOS.a(RDEXT64.o)
ld: warning: arm64 function not 4-byte aligned: vrgba_from_pals_8 from /Users/user/Documents/App/obj/Debug/net6.0-ios/ios-arm64/linker-cache/libPDF_iOS.a(RDEXT64.o)
"_BIO_ctrl", referenced from:
RDCert_decrypt(_RDCERT_DATA*, unsigned char*, unsigned char const*, int) in libPDF_iOS.a(RDCrypto.o)
"_BIO_free", referenced from:
RDBIO_free(_RDBIO*) in libPDF_iOS.a(RDCrypto.o)
...

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

And it would be nice if someone could help someway and point on source of error.

Here is a little bit details of our PDF library usage. We make our static library libPDF_iOS.a with some modification which serves our needs (and it use libRDPDFLib.a of course). Then we make Xamarin binding library, add it in application project... The described usage schema works just fine while we build our application with Xamarin.iOS. But now time comes to migrate from Xamarin to Net6 framework and Maui. We migrate projects of our application to SDK format. Rebuild binding library for target net6.0-ios. And when we build application for ios-arm64 we got the errors "Undefined symbols for architecture arm64".

I have tried to play with linking options in NET project (on and off, exclude particular dll from linking) but have no success.

Need any assistance to address this issue.

Please Log in or Create an account to join the conversation.

Net6 iOS build problem 8 months 6 days ago #15825

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
dear user, we're still investigating on your issue and on the incompatibility with .net for ios.

Please Log in or Create an account to join the conversation.

Net6 iOS build problem 7 months 3 weeks ago #15849

  • directum.apps
  • directum.apps's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hello, is there any news about investigation of the issue?

Please Log in or Create an account to join the conversation.

Net6 iOS build problem 7 months 3 weeks ago #15850

  • kaizhou
  • kaizhou's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 13
  • Thank you received: 2
Dear User,

We are still investigating on this issue.
Could you provide us some information to help us investigate this issue:
Which version of MacOS and Xcode are you using?
Which architecture is your CPU based on?
Which version of Visual Studio and Xamarin.iOS are you using?

regards,
RadaeePDF.com
Support Team

Please Log in or Create an account to join the conversation.

Net6 iOS build problem 7 months 3 weeks ago #15851

  • directum.apps
  • directum.apps's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hello. Here the information you have asked.

Operating System
Mac OS X 13.2.1
Darwin 22.3.0 Darwin Kernel Version 22.3.0
Mon Jan 30 20:42:11 PST 2023
root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64

Xamarin.iOS
Version: 16.4.0.6 Visual Studio Community
Hash: 97731c92c
Branch: xcode14.3
Build date: 2023-04-11 22:38:36-0400

Xcode: 14.3 21812
Build: 14E222b

Visual Studio Community 2022 for Mac
Version 17.6.4 (build 472)

We are running MacOS on VMWare virtual machine. Host CPU is Intel (x64 architecture).

Please Log in or Create an account to join the conversation.

Net6 iOS build problem 7 months 1 week ago #15856

  • directum.apps
  • directum.apps's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hello, is there any progress in investigation? May be you need more additional information of any sort?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum