ios,swift2023. 4. 26. 10:34

[xcode]compile module was created by different version of the compiler 해결방법

 

xcode 업그레이드 시키면서 자체적으로 가지고 있는 framework 가 compiler version이 서로 틀리단다..

 

framework라면 compiler version에 상관없이 빌드되야 한다..

 

해결하려면..

 

build settings -> Build Libraries for Distribution -> yes 설정하면 된다.

Posted by thdeodls85
ios,swift2023. 4. 19. 16:40

[Xcode]products folder not visible 해결방법

 

framework 안에 빌드를 했을 시, products 폴더가 없다.. 

 

빌드한 framework 파일을 보려면

 

Product > Show Build

Posted by thdeodls85
ios,swift2023. 4. 19. 16:30

[ios]Xcodeproj Unknown object version (56). (RuntimeError)

 

ios xcode Version 14.3에서 pod init 할려고 하는데 오류가 나온다..

 

해결하는 방법은..

 

project format -> 12 바꾸면 된다..

Posted by thdeodls85
ios,swift2023. 4. 17. 16:06

[ios]the ios deployment target 'iphoneos_deployment_target' is set to 11.0 to 해결방법

 

pod 안에서 11.0 설정해주면 된다.

 

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
      end
    end
  end

 

[참조] https://fomaios.tistory.com/entry/%ED%95%B4%EA%B2%B0%EB%B2%95-%ED%8F%AC%ED%95%A8-The-iOS-Simulator-deployment-target-IPHONESDEVELOPMENTTARGET-is-set-to-80but-the-range-of-suppoted-deployment-target-vesions-is-90-to-14499

 

[Error 해결법 포함] The iOS Simulator deployment target 'IPHONES_DEVELOPMENT_TARGET' is set to 8.0,but the range of suppote

안녕하세요 Foma 입니다! 오늘 만난 건 에러는 아니고 경고인데요. 바로 제목과 같이 'The iOS Simulator deployment target 'IPHONES_DEVELOPMENT_TARGET' is set to 8.0~~~' 라는 경고였습니다. 열심히 스택오버플로우에

fomaios.tistory.com

 

Posted by thdeodls85
ios,swift2023. 4. 17. 11:35

[Xcode]product name 변경방법

 

build setting -> packaging -> product name 변경하면 된다.

Posted by thdeodls85
ios,swift2023. 4. 10. 16:17

[ios]Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 해결방법

 

target -> info -> 

 

<key>UIApplicationSceneManifest</key>
    <dict>
        <key>UIApplicationSupportsMultipleScenes</key>
        <true/>
        <key>UISceneConfigurations</key>
        <dict/>
    </dict>

추가하면 경고가 사라진다.

Posted by thdeodls85
ios,swift2023. 4. 5. 17:07

[ios]FileManager 파일앱에 보일 수 있게 권한 설정하는 방법

 

FileManager 써서 file을 만들었다.. 

 

그러면 파일앱에 보일거라 생각했는데, 않보인다??

 

info.list 안에서 설정해주면 된다..

 

<key>LSSupportsOpeningDocumentsInPlace</key>
	<true/>
	<key>UIFileSharingEnabled</key>
	<true/>

 

Posted by thdeodls85
ios,swift2022. 12. 7. 16:42

[ios]invalid bundle. the bundle at contains disallowed file 'frameworks' 해결방법

 

앱 스토어 준비중에 이런이슈가 발생했다..

 

다른 사람들이 framwork파일 지우고 해야 된다 등등 여러 고치는 방법이 있었지만.. 해결하지 못했다..

 

나는 

 

target -> framworks , librarise , and emadid content -> pod 으로 설정된 framwork -> embed 상태를 do not embed 로 변경하면 된다..

Posted by thdeodls85