Updating local specs repositories
Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `11.4.0`
cloud_firestore: Using Firebase SDK version '11.4.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '11.4.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '11.4.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '11.4.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '11.4.0' defined in 'firebase_core'
firebase_performance: Using Firebase SDK version '11.4.0' defined in 'firebase_core'
firebase_storage: Using Firebase SDK version '11.4.0' defined in 'firebase_core'
Downloading dependencies
Installing AppAuth (1.7.6)
Installing DKImagePickerController (4.3.9)
Installing DKPhotoGallery (0.0.19)
Installing Firebase (11.4.0)
Installing FirebaseABTesting (11.4.0)
Installing FirebaseAppCheckInterop (11.11.0)
Installing FirebaseAuth (11.4.0)
Installing FirebaseAuthInterop (11.11.0)
Installing FirebaseCore (11.4.0)
Installing FirebaseCoreExtension (11.4.0)
Installing FirebaseCoreInternal (11.11.0)
Installing FirebaseFirestore (11.4.0)
Installing FirebaseFirestoreAbseilBinary (1.2024011602.0)
Installing FirebaseFirestoreBinary (11.4.0)
Installing FirebaseFirestoreGRPCBoringSSLBinary (1.65.1)
Installing FirebaseFirestoreGRPCCPPBinary (1.65.1)
Installing FirebaseFirestoreGRPCCoreBinary (1.65.1)
Installing FirebaseFirestoreInternalBinary (11.4.0)
Installing FirebaseFunctions (11.4.0)
Installing FirebaseInstallations (11.4.0)
Installing FirebaseMessaging (11.4.0)
Installing FirebaseMessagingInterop (11.11.0)
Installing FirebasePerformance (11.4.0)
Installing FirebaseRemoteConfig (11.4.0)
Installing FirebaseRemoteConfigInterop (11.11.0)
Installing FirebaseSessions (11.4.0)
Installing FirebaseSharedSwift (11.4.0)
Installing FirebaseStorage (11.4.0)
Installing Flutter (1.0.0)
Installing GTMAppAuth (4.1.1)
Installing GTMSessionFetcher (3.5.0)
Installing GoogleDataTransport (10.1.0)
Installing GoogleSignIn (7.1.0)
Installing GoogleUtilities (8.0.2)
Installing PromisesObjC (2.4.0)
Installing PromisesSwift (2.4.0)
Installing RecaptchaInterop (100.0.0)
Installing SDWebImage (5.21.0)
Installing SwiftyGif (5.4.5)
Installing cloud_firestore (5.5.0)
Installing cloud_functions (5.1.5)
Installing file_picker (0.0.1)
Installing firebase_auth (5.3.3)
Installing firebase_core (3.8.0)
Installing firebase_messaging (15.1.5)
Installing firebase_performance (0.10.0-10)
Installing firebase_storage (12.3.2)
Installing flutter_local_notifications (0.0.1)
Installing flutter_native_splash (0.0.1)
Installing google_sign_in_ios (0.0.1)
Installing image_picker_ios (0.0.1)
Installing leveldb-library (1.22.6)
Installing nanopb (3.30910.0)
Installing path_provider_foundation (0.0.1)
Installing permission_handler_apple (9.3.0)
Installing pointer_interceptor_ios (0.0.1)
Installing shared_preferences_foundation (0.0.1)
Installing sign_in_with_apple (0.0.1)
Installing sqflite (0.0.3)
Installing url_launcher_ios (0.0.1)
Installing video_player_avfoundation (0.0.1)
Installing webview_flutter_wkwebview (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 25 dependencies from the Podfile and 62 total pods installed.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).
[!] The `Runner [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `Runner [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `Runner [Profile]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `ImageNotification [Debug]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-ImageNotification/Pods-ImageNotification.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `ImageNotification [Release]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-ImageNotification/Pods-ImageNotification.release.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `ImageNotification [Profile]` target overrides the `CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER` build setting defined in `Pods/Target Support Files/Pods-ImageNotification/Pods-ImageNotification.profile.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
Launching lib/main.dart on XXX iPhone in debug mode...
Upgrading contents.xcworkspacedata
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Removing script build phase dependency analysis.
Adding input path to Thin Binary build phase.
Multiple valid development certificates available (your choice will be saved):
1) Apple Development: XXX
2) Apple Development: XXX
a) Abort
Please select a certificate for code signing [1|2|a]: 2
Certificate choice "Apple Development: XXX" saved
Developer identity "Apple Development: XXX" selected for iOS code signing
Running pod install... 3.5s
Running Xcode build...
Xcode build done. 15.8s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): Cannot create a iOS App Development provisioning profile for "com.XXX.XXX". Personal development teams, including "XXX", do not support the Sign in with Apple and Push Notifications capabilities.
/Users/XXX/Library/Application%20Support/io.flutterflow.prod.mac/dami/ios/Runner.xcodeproj
Error (Xcode): No profiles for 'com.XXX.XXX' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.XXX.XXX'.
/Users/XXX/Library/Application%20Support/io.flutterflow.prod.mac/dami/ios/Runner.xcodeproj
════════════════════════════════════════════════════════════════════════════════
Building a deployable iOS app requires a selected Development Team with a
Provisioning Profile. Please ensure that a Development Team is selected by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
For more information, please visit:
https://flutter.dev/to/ios-development-team
Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════
Error launching application on XXX iPhone.
이런 오류를 띄우며 local device Run 실행 실패
아마 개발 팀 프로비저닝 프로파일이 없어서 그런 것 같음
Access Unavailable
You currently don't have access to this membership resource.
Contact your team's Account Holder, XXX, or an Admin.
certificates에 들어가면 위와 같은 access unavailable이 뜸,
제품 개발로 초대가 되면, certificates등의 메뉴에 접근하기 위해서는 추가 권한이 필요하다고 한다.
사용자 및 액세스에서 관리 > 인증서 식별자... 의 항목을 선택해주어야 한다고 함..
이거는 내가 당장 할 수 있는 게 없는 것 같음
[Apple Developer 공식 문서]
개발 프로비저닝 프로파일 생성하기
Xcode에서 수동으로 앱에 서명하려면 개발 프로비저닝 프로파일을 생성해야 합니다.
시작하기 전에 앱 ID, 하나 이상의 개발 인증서 및 하나 이상의 등록된 기기가 필요합니다. Xcode에서 관리하는 앱 ID 중 하나를 사용하거나 앱 ID를 등록할 수 있습니다. 팀 멤버는 Xcode를 사용하여 개발 인증서를 생성하고 기기를 등록해야 합니다. 또는 개발자 계정에서 팀이 사용하는 여러 기기를 등록할 수 있습니다.
전체 macOS 앱 작업 흐름을 알아보려면 Xcode 도움말에서 ‘등록된 컴퓨터(macOS)에 배포하기’를 참고하시기 바랍니다.
참고: 자동 서명을 사용하는 경우 Xcode에서 개발 프로비저닝 프로파일을 관리합니다.
필요한 역할: 계정 소유자 또는 관리자.
- 인증서, 식별자 및 프로파일의 사이드바에서 Profiles(프로파일)를 클릭한 다음 왼쪽 상단에 있는 추가 버튼(+)을 클릭합니다.
- Development(개발) 아래에서 생성하려는 프로비저닝 프로파일의 유형을 선택한 다음 Continue(계속)를 클릭합니다.
- iOS App Development(iOS 앱 개발): iOS 및 watchOS 앱, 앱 클립용인 경우 선택합니다.
- tvOS App Development(tvOS 앱 개발): tvOS 앱용인 경우 선택합니다.
- Mac App Development(Mac 앱 개발): macOS 앱(Mac Catalyst로 구성한 앱 포함)용인 경우 선택합니다.
- DriverKit Development(DriverKit 개발): iOS 및 macOS의 드라이버 확장 프로그램인 경우 선택합니다. 이 프로비저닝 프로파일 유형은 DriverKit Entitlements(권한)로 활성화한 앱 ID에만 사용할 수 있습니다.
- 개발에 사용할 앱 ID를 선택한 다음 Continue(계속)를 클릭합니다.
- 하나 이상의 개발 인증서를 선택한 다음 Continue(계속)를 클릭합니다.
- 하나 이상의 기기를 선택한 다음 Continue(계속)를 클릭합니다.
- 프로파일 이름을 입력한 다음 Generate(생성)를 클릭합니다.
- Download(다운로드)를 클릭합니다.
Xcode에서 프로비저닝 프로파일을 다운로드합니다.
Unable to find a team with the given Team ID 'XXX' to which you belong.
Please contact Apple Developer Program Support. https://developer.apple.com/support
권한을 주셨다고 했는데 이런 오류가 뜨며 뭐 아무것도 접근할 수 없는 상황.....
뭥미??
뭐 내가 권한이 있어야 하는 것인지.... 인증 파일만 있으면 되는 것인지.... 알 수가 없음
--
알고보니 내가 메일에서 초대 수락을 안 함^^; 하하하
수락하고 xcode에서 팀 선택해주고 자동으로 프로비저닝 파일 만들게 하고 빌드했는데 빌드 실패....
뭐가 문제인고....
log에서 알려준 메뉴얼은 이건데.,........
Building a deployable iOS app requires a selected Development Team with a
Provisioning Profile. Please ensure that a Development Team is selected by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
했다구요........
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-resources-Debug-input-files.xcfilelist'
이런 오류가 뜨는데...
Xcode가 빌드 시 필요한 .xcfilelist 파일을 찾지 못했을 때 발생합니다. 보통은 pod install 과정에서 자동으로 생성되는 파일인데, 뭔가 꼬였을 때 나타나요.
....
1. pod 재설치
cd ios
rm -rf Pods Podfile.lock
pod deintegrate
pod install
cd ..
2. Derived Data 지우기 (Xcode 캐시 초기화)
rm -rf ~/Library/Developer/Xcode/DerivedData
3. Xcode 다시 열기 + Clean Build Folder
open ios/Runner.xcworkspace
Xcode 상단 메뉴에서:
Product > Clean Build Folder (Shift + Cmd + K)
4.빌드 재시도
flutter clean
flutter pub get
flutter run
위의 방법으로 xcode에서 실행 성공했으나
flutter flow에서는 실행 실패
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): Cannot create a iOS App Development provisioning profile for "com.XXX.XXX". Personal development teams, including "XXX",
do not support the Sign in with Apple and Push Notifications capabilities.
/Users/XXX/Library/Application%20Support/io.flutterflow.prod.mac/XXX/ios/Runner.xcodeproj
Error (Xcode): No profiles for 'com.XXX.XXX' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.XXX.XXX'.
/Users/XXX/Library/Application%20Support/io.flutterflow.prod.mac/XXX/ios/Runner.xcodeproj
위와 같은 오류 주면서 빌드 실패
뭐 어떻게 하란 말이냐고..
delete the "ios" and "android" folders in the '/Users/username/Library/Application Support/io.flutterflow.prod.mac/projectname' and let flutterflow to regenerate it
(if the first time still fail, just update the team in xcode to the right one) and then it should be fine.
user의 ios와 android를 삭제하는 방법도 안 먹힘
flutter flow를 재실행하면 덮어쓰는 게 맞는 것 같음.
뭔가 local에서 실행이 안되는 것 같음.
그렇다면 local에서 테스트를 못하는데 어떻게 알림 설정을 테스트할 수 있을까???
push notification 테스트를 하기 위해선 실제 기기에서 돌려야 함
실제 기기에서 돌리는 방법 -> xcode에서 디바이스 연결해서 해보기
근데.... xcode에서 이 코드 실행을 시킬 수 있느냐???
다운로드 받아서 코드 실행하기 ...?
일단 내가 생각한 방법
1. git에 올린다음... 그 파일을 xcode로 받아서 flutter flow에서 테스트 하는 것
[도움 받은 링크]
[iOS] Apple developer 개발자 팀 등록 (Certificates, identifiers & Profiles가 나타나지 않을 때)
bitbucket권한을 받아 레포지토리를 clone하고 빌드를 했는데 빌드가 되지 않고 다음과 같은 오류가 발생했다. No account for team "team name". Add a new account in the Accounts preference pane or verify that your accounts ha
hilily.tistory.com
https://velog.io/@darak551/IOS-팀원-시점-개발자-계정-인증서-추가
[iOS] 팀원 시점) 개발자 계정 인증서 추가
Distribution.p12Development.p12BookBrigeProfile.mobileprovisionbookBridgeDistribution.mobileprovisionBookBrigeProfile.mobileprovision,bookBridgeDistri
velog.io
[애플 개발자 계정]
https://developer.apple.com/account
로그인 - Apple
idmsa.apple.com
'인턴일기🌱' 카테고리의 다른 글
[트러블슈팅] Flutter Flow Notification 관련 설정 및 FCM key 발급 (0) | 2025.04.09 |
---|---|
[Flutter Flow] Foreground In-App Notifications (0) | 2025.04.08 |
[Flutter Flow] FCM API에서 HTTP v1로 이전 (0) | 2025.04.07 |
Flutter Flow에서 FCM으로 Push Notification 구현하기 (0) | 2025.04.07 |
1주차 준비 : 회의 내용 및 TODO (0) | 2025.04.04 |