Closed yudonlee closed 3 months ago
Hello,I encountered the following compilation error while setting up the real device. Unknown argument: '-framework XCTest -lXCTestSwiftSupport'
Unknown argument: '-framework XCTest -lXCTestSwiftSupport'
The reproduction steps are as follows:
Create a new project.
Add XCTest framework on Build Phase
3. Add -framework XCTest -lXCTestSwiftSupport to the Other Linker Flags setting.
4. Compile the project and encounter the error. `Framework 'XCTest -IXCTestSwiftSupport' not found`
Is there anything I did wrong?
Hi, XCTest -IXCTestSwiftSupport need to be on separate lines though why are you adding them there?? Have you checked the "Enable testing on device" option by mistake?
Hello,I encountered the following compilation error while setting up the real device.
Unknown argument: '-framework XCTest -lXCTestSwiftSupport'
The reproduction steps are as follows:
Create a new project.
Add XCTest framework on Build Phase
Is there anything I did wrong?