Skip to content

Commit

Permalink
Fix ios bucket + crashlytics (#213)
Browse files Browse the repository at this point in the history
* iOS crashlytics

* Rename workflow

* Try calloc

* Move cpp source

* Use environment vars

* Go back to malloc

* Move back cpp source

* IPA fix
  • Loading branch information
ruskakimov authored Aug 7, 2021
1 parent 02b3cdd commit 91af8ff
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
8 changes: 4 additions & 4 deletions codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

workflows:
default-workflow:
name: Default Workflow
name: Config Workflow
instance_type: mac_mini
max_build_duration: 60
environment:
Expand Down Expand Up @@ -88,7 +88,7 @@ workflows:
track: internal
in_app_update_priority: 0
app_store_connect:
api_key: Encrypted(Z0FBQUFBQmhDOTl1OElLNWJRSng3bFBOclJVTzl5WUlyZ1l4T0JhRWhnQTZjS2I4clFycXNva2Y1MVpFMTNta20xc2dhS2NPLWh0VWttWjhhOVB6d1k3SVpCQzhDVjVJZGk0VUVxaGF4Z2w5YnZmR1pzVzFPNTZQMEdPTGp5N2xycEFHVTg2WEdwNExpN1ZpY19tUkVVWlcxajVycFJIVmNCc1N2VllSRjA4dXZoR0czNHFMd1ZpanUzRXZnWVZQMVN0bVNOQjk0aWVQclFRV1FGaExwRGxBWlhPaHM0bTJWc3pIVE1qXzZDRVpTVmRfWUpUTjlESlM1NERzN1F5RVBwa25GUzBGS3p0ZkpSc3dDYkRBSDhlZlkxbTIyNlVjTml6NERJQVhZNHI2RGkwOFRiWXZneTRfVDVEV1ZjcWJOeDVrZy1KZmlMRjRnbWNpbXhmekU3Wmt6c0lHa2t3dTFmd0UxSHV4TUJvNWE3N0EzdTlscFJTSkpDLWIzcnUyZllHU0NicUxhbEZjVHoyNzRhTHRlbndPc2pCbmZXdTBpeVZ2eTRqUGtrT3Z0V3JDRkVPVnZxbz0=)
key_id: 6Y2NW26LRJ
issuer_id: 567d8418-e243-4e28-a212-ef2023103d9b
api_key: $APP_STORE_CONNECT_PRIVATE_KEY
key_id: $APP_STORE_CONNECT_KEY_IDENTIFIER
issuer_id: $APP_STORE_CONNECT_ISSUER_ID
submit_to_testflight: true
32 changes: 27 additions & 5 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
E54E91CC26BE5F1D00053EEB /* flood_fill.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E54E91CB26BE5F1D00053EEB /* flood_fill.cpp */; };
E59360A625BB337C00050773 /* AppViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E59360A525BB337C00050773 /* AppViewController.swift */; };
E5AC82B026B42D6800E7C825 /* flood_fill.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E5AC82AF26B42D6800E7C825 /* flood_fill.cpp */; };
E5C8108D25B7F02900ADAF39 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = E5C8108C25B7F02900ADAF39 /* GoogleService-Info.plist */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -50,8 +50,8 @@
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E543890E25C9950D00A61B5B /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
E54E91CB26BE5F1D00053EEB /* flood_fill.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = flood_fill.cpp; path = ../image_library/flood_fill.cpp; sourceTree = "<group>"; };
E59360A525BB337C00050773 /* AppViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppViewController.swift; sourceTree = "<group>"; };
E5AC82AF26B42D6800E7C825 /* flood_fill.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = flood_fill.cpp; path = ../image_library/flood_fill.cpp; sourceTree = "<group>"; };
E5C8108C25B7F02900ADAF39 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
EDB64C9FE88BAECF1C4220E3 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -90,7 +90,7 @@
97C146E51CF9000F007C117D = {
isa = PBXGroup;
children = (
E5AC82AF26B42D6800E7C825 /* flood_fill.cpp */,
E54E91CB26BE5F1D00053EEB /* flood_fill.cpp */,
E5C8108C25B7F02900ADAF39 /* GoogleService-Info.plist */,
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
Expand Down Expand Up @@ -158,6 +158,7 @@
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
DDACBDBC65CA9EEAB6FFACD0 /* [CP] Embed Pods Frameworks */,
E54E91C526BD0ABB00053EEB /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -265,7 +266,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
};
DDACBDBC65CA9EEAB6FFACD0 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -284,14 +285,32 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
E54E91C526BD0ABB00053EEB /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)",
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "${PODS_ROOT}/FirebaseCrashlytics/run\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
97C146EA1CF9000F007C117D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E5AC82B026B42D6800E7C825 /* flood_fill.cpp in Sources */,
E54E91CC26BE5F1D00053EEB /* flood_fill.cpp in Sources */,
E59360A625BB337C00050773 /* AppViewController.swift in Sources */,
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
Expand Down Expand Up @@ -396,6 +415,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.kakimov.mooltik;
PRODUCT_NAME = "$(TARGET_NAME)";
STRIP_STYLE = "non-global";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -535,6 +555,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.kakimov.mooltik;
PRODUCT_NAME = "$(TARGET_NAME)";
STRIP_STYLE = "non-global";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -568,6 +589,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.kakimov.mooltik;
PRODUCT_NAME = "$(TARGET_NAME)";
STRIP_STYLE = "non-global";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
Expand Down

0 comments on commit 91af8ff

Please sign in to comment.