1# A useful reference 2# https://github.com/JetBrains/kotlin/tree/master/kotlin-native/platformLibs/src/platform/ios 3 4language = Objective-C 5package = platform.XCTest 6depends = UIKit 7modules = XCTest 8# Specify the framework we want to link explicitly 9linkerOpts = -framework XCTest 10# Specify locations `-F` is a way to specify the search path. 11# For more information on linker arguments 12# https://www.manpagez.com/man/1/ld/ 13linkerOpts.ios_x64 = -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks 14# The IDE might be showing red-squiggles here, but, this is a necessary parameter. 15# Otherwise you will run into linker errors that look something like: 16# ld: framework not found XCTest 17linkerOpts.ios_simulator_arm64 = -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks 18linkerOpts.ios_arm64 = -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks 19compilerOpts= -framework XCTest -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/ 20