forked from flexn-io/renative
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request flexn-io#529 from pavjacko/fix/flexn-io#528-sdk-fi…
…led-merges fix: correct sdk field merges
- Loading branch information
Showing
24 changed files
with
180 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## v0.30.2-alpha.1 (2020-6-24) | ||
|
||
### Fixed | ||
|
||
- update loggigng | ||
- fix: correct sdk field merges | ||
|
||
### Added Features | ||
|
||
- none | ||
|
||
### Breaking Changes | ||
|
||
- none | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## v0.30.2-alpha.2 (2020-6-24) | ||
|
||
### Fixed | ||
|
||
- further SDK merge fixes | ||
- fix: #524 add default workspace to merge flow | ||
|
||
### Added Features | ||
|
||
- none | ||
|
||
### Breaking Changes | ||
|
||
- none | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,27 @@ | ||
/* eslint-disable import/no-cycle */ | ||
import { provision, cert } from 'ios-mobileprovision-finder'; | ||
import chalk from 'chalk'; | ||
import path from 'path'; | ||
import { getConfigProp } from '../../common'; | ||
import { logWarning } from '../../systemTools/logger'; | ||
|
||
|
||
export const parseProvisioningProfiles = async (c) => { | ||
// PROJECT | ||
const teamID = getConfigProp(c, c.platform, 'teamID'); | ||
const id = getConfigProp(c, c.platform, 'id'); | ||
const certificates = cert.read(); | ||
const provisionProfiles = provision.read(); | ||
const result = provision.select(provisionProfiles, { | ||
AppId: id, | ||
TeamIdentifier: teamID, | ||
Certificates: certificates.valid | ||
}); | ||
return result; | ||
try { | ||
const provisionProfiles = provision.read(); | ||
const result = provision.select(provisionProfiles, { | ||
AppId: id, | ||
TeamIdentifier: teamID, | ||
Certificates: certificates.valid | ||
}); | ||
return result; | ||
} catch (e) { | ||
logWarning(`You have no provisioning files available. Check your ${chalk.white(path.join(c.paths.home.dir, 'Library/MobileDevice/Provisioning Profiles'))} folder`); | ||
} | ||
|
||
return null; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.