Skip to content

Commit

Permalink
Setting iOS and Android releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sastred committed Jun 13, 2016
1 parent efd6033 commit 7ad669f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ project.xcworkspace
.idea
.gradle
local.properties
*.keystore

# node.js
#
Expand Down
9 changes: 9 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ android {
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
storeFile file(MNM_RELEASE_STORE_FILE)
storePassword MNM_RELEASE_STORE_PASSWORD
keyAlias MNM_RELEASE_KEY_ALIAS
keyPassword MNM_RELEASE_KEY_PASSWORD
}
}
splits {
abi {
reset()
Expand All @@ -102,6 +110,7 @@ android {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
}
// applicationVariants are e.g. debug, release
Expand Down
9 changes: 9 additions & 0 deletions iOS/mnm.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,9 @@
CreatedOnToolsVersion = 6.2;
TestTargetID = 13B07F861A680F5B00A75B9A;
};
13B07F861A680F5B00A75B9A = {
DevelopmentTeam = 5RY4T725CY;
};
};
};
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "mnm" */;
Expand Down Expand Up @@ -685,6 +688,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer: Daniel Sastre (5NZR2B55GT)";
DEAD_CODE_STRIPPING = NO;
HEADER_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -694,14 +698,17 @@
INFOPLIST_FILE = mnm/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.apsl.Meneame;
PRODUCT_NAME = mnm;
PROVISIONING_PROFILE = "4b8183aa-6e3a-4ccb-8d70-91bf5212daa3";
};
name = Debug;
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
Expand All @@ -710,7 +717,9 @@
INFOPLIST_FILE = mnm/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.apsl.Meneame;
PRODUCT_NAME = mnm;
PROVISIONING_PROFILE = "529355fa-ea42-425b-814c-41e169f6df66";
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion iOS/mnm/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down

0 comments on commit 7ad669f

Please sign in to comment.