Search Issue Tracker

In Progress

In Progress in 2021.3.X

Fixed in 2022.2.5f1, 2023.1.0a19

Votes

2

Found in

2021.3.10f1

2022.1.16f1

2022.2.0b7

2023.1.0a10

Issue ID

UUM-14580

Regression

Yes

"DllNotFoundException" is printed in Xcode when using "File.SetAttributes(path, FileAttributes.Hidden)" on iOS devices

--

-

How to reproduce:
1. Build And Run the “Hidden.zip” project on an iOS device
2. Observe the Xcode’s console window

Expected result: “DllNotFoundException” message doesn’t appear
Actual result: “DllNotFoundException” message appears

Reproducible with: 2021.2.0a18, 2021.3.10f1, 2022.1.16f1, 2022.2.0b7, 2023.1.0a10
Not reproducible with: 2020.3.39f1, 2021.2.0a17

Reproduced on:
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS

Note: Not reproducible with Android

Full error:
DllNotFoundException: Unable to load DLL 'System.Native'. Tried the load the following dynamic libraries: Unable to load dynamic library '/System.Native' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen(/System.Native, 5): image not found

  at Interop+Sys.LChflags (System.String path, System.UInt32 flags) \[0x00000] in <00000000000000000000000000000000>:0 

  at System.IO.FileStatus.SetAttributes (System.String path, System.IO.FileAttributes attributes) \[0x00000] in <00000000000000000000000000000000>:0 

  1. Resolution Note (fix version 2023.1.0a19):

    Fixed in: 2023.1.0a19

  2. Resolution Note (fix version 2022.2.5f1):

    Fixed in: 2022.2.5f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.