본문 바로가기
반응형

Development Solutions/iOS & OS X18

[Xcode] libarclite_iphonesimulator.a (Error solved) [Xcode] libarclite_iphonesimulator.a Error solved 문제 상황 (Problem) 아래의 에러 메시지가 발생함 File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/a rc/libarclite_iphonesimulator.a 해결 방법 (Way to solve) Podfile을 열어서 제일 아래 부분의 post_install을 아래와 같이 변경한다. post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_set.. 2023. 7. 25.
SocketException: Connection failed (OS Error: Operation not permitted, errno = 1) [flutter][macOS] SocketException: Connection failed (OS Error: Operation not permitted, errno = 1) [flutter][macOS] 에러 내용 애플 macOS에서 http통신 코드를 호출할 때, SocketException: Connection failed 에러가 나타날 때가 있다. 에러 사유를 디버깅해보면 OS Error: Operation not permitted 라고 표시된다. 이제 우리는 OS 에서의 권한적인 문제가 있나보구나 정도로 원인을 유추할 수 있다. 해결책 아래와 같이 앱 프로젝트 내에서 권한을 추가한다. 파일은 Runner/DebugProfile.entitlements 이다. 기존 코드는 server에 대해서만 true처리되어있을 수도 있는데.. 2023. 2. 7.
xcode firebase sdk 적용 방법 xcode firebase sdk 적용 방법 mac os 환경에서 앱을 빌드할 때, 구글 firebase관련하여 의존성 문제가 생기곤 한다. 이 문제는 firebase sdk를 인식하지 못하는 문제로서 필요한 plist파일 등록 및 리빌드하면 된다. 해결 방법 순서 Firebase console에 접속 iOS앱에 Firebase추가 진입 후, GoogleService-info.plist 다운로드 xcode프로젝트에 GoogleService-info.plist 추가 후 리빌드 빌드 성공 확인 2023. 1. 21.
[ios] Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized [ios] Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized 문제 상황 빌드할 때 에러 메시지와 함께 실패한다. Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized 해결 방법 1. 구글 파이어베이스 콘솔에서 GoogleServices-Info.plist를 생성하여 플러터 프로젝트에 포함시킨다. 해당 파일은 Info.plist와 같은 디렉터리에 복사해주면 된다. 2. main()함수에서 await Firebase.initializeApp(); 을 호출한다. 아래 참고! Future main() a.. 2023. 1. 14.
반응형