Compare commits

..

10 Commits

Author SHA1 Message Date
Ian VanSchooten a69fb179d2
Merge eebcc60a1f into 998d0459ad 2024-10-10 10:20:30 -04:00
Ian VanSchooten eebcc60a1f Fix rebase error 2024-10-09 10:52:54 -04:00
Ian VanSchooten 7b507b4f58 Rename workflow 2024-10-08 15:27:32 -04:00
Ian VanSchooten 19ea15d1e4 Avoid incrementing version number 2024-10-08 15:27:32 -04:00
Ian VanSchooten 74c083d17f Use fastlane to build 2024-10-08 15:27:32 -04:00
Ian VanSchooten 2996ba0049 Add fastlane match token 2024-10-08 15:27:32 -04:00
Ian VanSchooten 3ff1061ce0 Add ios build step to ci 2024-10-08 15:27:32 -04:00
Ian VanSchooten 4ad3aa70e1 Specify androidapi for gomobile 2024-10-08 15:27:31 -04:00
Ian VanSchooten b47ad58808 Add build workflow 2024-10-08 15:27:07 -04:00
Ian VanSchooten bedb193538 Simplify/fix dart formatting in CI 2024-10-08 15:27:07 -04:00
4 changed files with 34 additions and 6 deletions

View File

@ -1,5 +1,4 @@
#include <stdint.h> #include <stdint.h>
#include <sys/types.h>
/* <sys/kern_control.h> */ /* <sys/kern_control.h> */
#define CTLIOCGINFO 0xc0644e03UL #define CTLIOCGINFO 0xc0644e03UL

View File

@ -19,12 +19,43 @@ platform :ios do
desc "Push a new beta build to TestFlight" desc "Push a new beta build to TestFlight"
lane :checkBuild do lane :checkBuild do
# Do some things like setting up a temporary keystore to host secrets in CI
setup_ci
# Change signing behavior to work in CI
update_code_signing_settings(
# Automatic signing seems to be a good thing to have on in dev but will not work in CI
use_automatic_signing: false,
# The default value for this is iOS Development which is not appropriate for release
code_sign_identity: "Apple Distribution",
)
# Find our signing certs and profiles, these come from a private repository and managed by `fastlane match`
match(type: 'appstore', app_identifier: ["net.defined.mobileNebula","net.defined.mobileNebula.NebulaNetworkExtension"], readonly: true)
# Update our main program to have the correct provisioning profile from Apple
update_project_provisioning(
xcodeproj: "Runner.xcodeproj",
target_filter: "Runner",
# This comes from match() above
profile:ENV["sigh_net.defined.mobileNebula_appstore_profile-path"],
build_configuration: "Release"
)
# Update our network extension to have the correct provisioning profile from Apple
update_project_provisioning(
xcodeproj: "Runner.xcodeproj",
target_filter: "NebulaNetworkExtension",
# This comes from match() above
profile:ENV["sigh_net.defined.mobileNebula.NebulaNetworkExtension_appstore_profile-path"],
build_configuration: "Release"
)
build_app( build_app(
output_name: "MobileNebula.ipa", output_name: "MobileNebula.ipa",
workspace: "Runner.xcworkspace", workspace: "Runner.xcworkspace",
scheme: "Runner", scheme: "Runner",
configuration: "Debug", export_method: "app-store",
export_method: "development",
export_options: { export_options: {
manageAppVersionAndBuildNumber: false manageAppVersionAndBuildNumber: false
} }

View File

@ -39,7 +39,7 @@ class _FormPageState extends State<FormPage> {
changed = widget.changed || changed; changed = widget.changed || changed;
return PopScope<Object?>( return PopScope<Object?>(
canPop: !changed, canPop: false,
onPopInvokedWithResult: (bool didPop, Object? result) async { onPopInvokedWithResult: (bool didPop, Object? result) async {
if (didPop) { if (didPop) {
return; return;

View File

@ -1,8 +1,6 @@
111MODULE = on 111MODULE = on
export GO111MODULE export GO111MODULE
unexport SWIFT_DEBUG_INFORMATION_VERSION
unexport SWIFT_DEBUG_INFORMATION_FORMAT
clean: clean:
rm -rf mobileNebula.aar MobileNebula.xcframework rm -rf mobileNebula.aar MobileNebula.xcframework