Unable to import/use SnapshotHelper.swift in Objective-C project
DipenPanchasara opened this issue · 2 comments
I configured snapshot and generated SnapshotHelper.swift, added it to my Test Target and writing following code in Test.m file throws error
XCUIApplication *app = [[XCUIApplication alloc] init];
[Snapshot setupSnapshot:app];
[app launch];
error : FastlaneDemoUITests.m:33:6: Use of undeclared identifier 'Snapshot'
It doesn't create ProductModule Header.
import "FastlaneDemo-Swift.h"
It also throws FastlaneDemoUITests.m:11:9: 'FastlaneDemo-Swift.h' file not found
XCode : 7.2
Defines Module : YES
Product Module Name : FastlaneDemoUITests
kindly advise what to do?
you can write your uitests also in swift, for me it was much easier althoug my app code is objective c
This issue was migrated to fastlane/fastlane#1642. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo