- Posts: 4
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
Cordova, Xamarin, Basic4Android topics are listed here.
Net6 iOS build problem
- directum.apps
- Topic Author
- Offline
- New Member
-
Less
More
IP: 92.55.16.103
2 years 5 months ago #15824
by directum.apps
Net6 iOS build problem was created by directum.apps
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.
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.
IP: 188.9.140.254
2 years 5 months ago #15825
by support
Replied by support on topic Net6 iOS build problem
dear user, we're still investigating on your issue and on the incompatibility with .net for ios.
- directum.apps
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
IP: 91.146.57.76
2 years 5 months ago #15849
by directum.apps
Replied by directum.apps on topic Net6 iOS build problem
Hello, is there any news about investigation of the issue?
IP: 151.41.222.87
2 years 5 months ago #15850
by kaizhou
Replied by kaizhou on topic Net6 iOS build problem
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
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
- directum.apps
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
IP: 91.146.57.76
2 years 5 months ago #15851
by directum.apps
Replied by directum.apps on topic Net6 iOS build problem
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).
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).
- directum.apps
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
IP: 92.55.58.122
2 years 4 months ago #15856
by directum.apps
Replied by directum.apps on topic Net6 iOS build problem
Hello, is there any progress in investigation? May be you need more additional information of any sort?
Time to create page: 0.402 seconds