Post

Replies

Boosts

Views

Activity

Emulator file scan problem
I tried to find the file inside the ios emulator. When I scan the directory all the time, it finds my Mac Book local directory. I don't know why the external folder is being read by the emulator. Turn it off or Is there any way to access the folder inside the emulator? The code proceeds from a test application written in Objective-C. Here's the code:    if ((dir = opendir("/Users/macAccount")) != nullptr) {     while ((diread = readdir(dir)) != nullptr) {       printf ("target : %s", diread->d_name);     }     closedir (dir);   } ==> result (This is the contents of my account on the macbook.)  .android| DataGripProjects| Public| .ssh| Movies| .vimrc| Applications| .gradle| .Trash| Mon.tar.gz| .npm| ...
1
0
701
Dec ’21
xcode 12.3->13.1 upgrade , compile error issue
This time I upgraded xcode 12.3 -> 13.1. The project code is c/c++ library code. When compiling after upgrade, basic system header files such as errno.h and unistd.h, string.h ... cannot be referenced. The code uses c api a lot instead of c++ api. (std::string -> char *, memcpy, memset etc.) How to solve it? must upgrade because of iPhone live debugging. env os : monterey 12.0.1 xcode : 13.1 error message: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:73:64: Use of undeclared identifier 'strchr' /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:148:12: No member named 'lldiv' in the global namespace /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:80:75: Use of undeclared identifier 'strpbrk' /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:94:76: Use of undeclared identifier 'memchr' ...
0
0
778
Dec ’21
Emulator file scan problem
I tried to find the file inside the ios emulator. When I scan the directory all the time, it finds my Mac Book local directory. I don't know why the external folder is being read by the emulator. Turn it off or Is there any way to access the folder inside the emulator? The code proceeds from a test application written in Objective-C. Here's the code:    if ((dir = opendir("/Users/macAccount")) != nullptr) {     while ((diread = readdir(dir)) != nullptr) {       printf ("target : %s", diread->d_name);     }     closedir (dir);   } ==> result (This is the contents of my account on the macbook.)  .android| DataGripProjects| Public| .ssh| Movies| .vimrc| Applications| .gradle| .Trash| Mon.tar.gz| .npm| ...
Replies
1
Boosts
0
Views
701
Activity
Dec ’21
xcode 12.3->13.1 upgrade , compile error issue
This time I upgraded xcode 12.3 -> 13.1. The project code is c/c++ library code. When compiling after upgrade, basic system header files such as errno.h and unistd.h, string.h ... cannot be referenced. The code uses c api a lot instead of c++ api. (std::string -> char *, memcpy, memset etc.) How to solve it? must upgrade because of iPhone live debugging. env os : monterey 12.0.1 xcode : 13.1 error message: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:73:64: Use of undeclared identifier 'strchr' /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:148:12: No member named 'lldiv' in the global namespace /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:80:75: Use of undeclared identifier 'strpbrk' /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:94:76: Use of undeclared identifier 'memchr' ...
Replies
0
Boosts
0
Views
778
Activity
Dec ’21