Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/flow/cmd/launch/launch.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ internal.launch_ios = function(flow) {

//open the xcode project path
var ios_project_path = path.resolve( flow.project.root, flow.config.build.ios.project );
var ios_project_file = path.join( ios_project_path, flow.project.prepared.source.project.app.name + '.xcodeproj' );
var ios_project_file = path.join( ios_project_path, flow.project.prepared.source.project.app.name + '.ios.xcodeproj' );

if(fs.existsSync(ios_project_file)) {
cmd.exec(flow, 'open', [ios_project_file]);
} else {
flow.log(1, 'seems the project is not located at expected location %s, can\'t open it?', ios_project_file);
}

}
}