Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fastlane build fails on EAS, but builds fine locally (missing argument label in call) #2115

Closed
balloman opened this issue Nov 9, 2023 · 1 comment
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@balloman
Copy link

balloman commented Nov 9, 2023

Build/Submit details page URL

https://expo.dev/accounts/parkingpinllc/projects/parking-pin/builds/96495846-b654-4e93-b31f-04660d57f368

Summary

When building this app, from either:

  • within the library (@balloman/expo-google-maps)
  • within the project
  • using eas build
    the build passes fine and a working ipa is generated.

Only when trying to build on the cloud, do I get this specific error:


❌  (node_modules/@balloman/expo-google-maps/ios/ExpoGoogleMapsTypes.swift:29:36)

  27 |   
  28 |   @Field
> 29 |   var fillColor: UIColor = UIColor(.clear)
     |                                    ^ missing argument label 'ciColor:' in call
  30 |   
  31 |   @Field
  32 |   var coordinates: [Coordinate]


❌  (node_modules/@balloman/expo-google-maps/ios/ExpoGoogleMapsTypes.swift:35:38)

  33 |   
  34 |   @Field
> 35 |   var strokeColor: UIColor = UIColor(.clear)
     |                                      ^ missing argument label 'ciColor:' in call
  36 | }
  37 | 
  38 | struct Coordinate: Record {

I wanna assume that I have some newer version of Swift or something that doesn't require the argument label. Otherwise, it should build fine considering it builds fine in any other situation. Additionally, when I open the project in Xcode, I get no errors indicating a missing label (using the wrong label does produce an error, however)

Managed or bare?

Managed

Environment

expo-env-info 1.0.5 environment info:
System:
OS: macOS 14.1.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - ~/.volta/tools/image/node/18.17.1/bin/node
Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn
npm: 9.6.7 - ~/.volta/tools/image/node/18.17.1/bin/npm
Managers:
CocoaPods: 1.14.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
IDEs:
Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild
npmPackages:
expo: ~49.0.17 => 49.0.17
react: 18.2.0 => 18.2.0
react-native: ~0.72.6 => 0.72.6
Expo Workflow: managed

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✔ Check that native modules use compatible support package versions for installed Expo SDK

Didn't find any issues with the project!

Error output

❌ (node_modules/@balloman/expo-google-maps/ios/ExpoGoogleMapsTypes.swift:29:36)

27 |
28 | @field

29 | var fillColor: UIColor = UIColor(.clear)
| ^ missing argument label 'ciColor:' in call
30 |
31 | @field
32 | var coordinates: [Coordinate]

❌ (node_modules/@balloman/expo-google-maps/ios/ExpoGoogleMapsTypes.swift:35:38)

33 |
34 | @field

35 | var strokeColor: UIColor = UIColor(.clear)
| ^ missing argument label 'ciColor:' in call
36 | }
37 |
38 | struct Coordinate: Record {

Reproducible demo or steps to reproduce from a blank project

See this example project: https://github.com/balloman/expo-google-maps/tree/main/example

@balloman balloman added the needs review Issue is ready to be reviewed by a maintainer label Nov 9, 2023
@balloman
Copy link
Author

balloman commented Nov 9, 2023

Fixed by using ios.image: "latest"

@balloman balloman closed this as completed Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant