빌드중에 iPhone has denied the launch request .... 이런 이슈가 발생하는 경우
Commad + shift + k 눌러 프로젝트 클린을 해보세요 !
2019년 6월 26일 수요일
2019년 6월 19일 수요일
Could not locate device support files. 이슈 해결
"codesign wants to access key "access" in your key chain." 이슈 해결
"codesign wants to access key "access" in
your key chain.
X-code 앱 빌드 시 "Codesign 이 "Access" 키체인 액세스 하기위해 암호를 입력하라는 창이 계속 뜬다면 맥북 사용자 암호 입력 항상허용을 눌러주세요
CocoaPods 설치 및 라이브러리 추가 (CocoaPods install & library add) @@ in Swift4.2.1 - Xcode 10.1
1. Xcode 에 CocoaPods 설치
터미널 실행 -> sudo gem install cocoapods 입력
*제거는 sudo gem uninstall cocoapods
2. CocoaPods Podfile 파일 생성
1) 터미널 실행 해당 프로젝트 폴더로 경로 이동 -> pod init 입력
2) 폴더 내 Podfile 파일 생성 확인 (Podfile 파일 내 라이브러리를 추가하여 설치를 진행하게됩니다.)
3) 파일 여는 2가지 명령어 (프로젝트 경로에서 명령어 입력!)
"open -e podfile" (텍스트 편집기)
"open -a Xcode Podfile" (Xcode)
3. CocoaPods 라이브러리 추가
1) Podfile 파일을 열어 위 명령어를 이용해 내용을 확인을 합니다
3) 터미널을 실행하여 해당 프로젝트 경로로 이동 후 pod install 을 입력하면 라이브러리 설치를
합니다
합니다
4. 마무리
2019년 6월 10일 월요일
swift 개발에 도움되는 사이트 모음
튜토리얼
https://github.com/ioscreator/ioscreator
https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/BuildABasicUI.html#//apple_ref/doc/uid/TP40015214-CH5-SW1
https://www.raywenderlich.com/ios
https://www.ioscreator.com/
https://jusung.gitbook.io/the-swift-language-guide/ (swift 한글 언어 문서)
라이브러리
https://www.cocoacontrols.com/
https://github.com/vsouza/awesome-ios
아래 참조 사이트에서 몇개 추린겁니다
참조사이트에서 더 유용한 사이트들이 많으니 꼭 들려서 확인 하시길 바래요~
참고 사이트 :
https://zeddios.tistory.com/162
2018년 6월 3일 일요일
알고리즘 문제풀이에 도움이 되자! 문자열 편@@ in Swift4.0
let str = "test 1234"
// 문자열 자르기 -> 배열
let arr = str.split(separator: "1")
// "test", "234"]
// 특정 문자 포함 여부 -> Bool
let indexString = str.contains("1")
// true
// 문자열에서 마지막 문자 가져오기
// Character
let lastChar = str.last!
// subscriptingCharacter
let lastChar2 = str[str.index(before: str.endIndex)]
// index 를 이용한 특정순서의 문자 가져오기
print(str[str.index(str.startIndex, offsetBy: 0)]) // t
print(str[str.index(str.endIndex, offsetBy: -1)]) // 4
//루프를 이용해 각각의 문자에 접근
for char in str {
print(char) // H e l l o 각각 접근
}
// indices 를 이용해 각각의 문자에 접근
for index in str.indices {
print(str[index]) // H e l l o 각각 접근
}
// components 이용한 특정 문자 제거
let compStr = str.components(separatedBy: " ")
//["test", "1234"]
피드 구독하기:
글 (Atom)
추천 게시물
애플 개발자 등록방법 2016년 5월 8일 기준!!
애플 개발자 등록 절차 1. 개발자 등록 페이지 이동 애플 개발자 로그인 > Account 페이지 이동 > 하단 영역 클릭 (이미지 참조) >> Enroll 클릭 >> 무조건 승인!! ...
-
PHImageManager를 이용한 앨범의 Thumbnail 로 이용할 사진 이미지 불러오기 <참조> https://developer.apple.com/reference/photos/phimagemanager 앨범 리스트에서 ...
-
UIButton 텍스트 변경 및 텍스트 컬러 변경 - UIButton 텍스트 변경 editButton.setTitle("test", for: .normal) - UIButton 텍스트 컬러 변경 edi...
-
[애플리케이션의 상태] not running 사용자에 의해 아직 애플리케이션이 실행되고 있지 않거나 이미 실행된 후 사용자 혹은 운영체제에 의해 종료된 상태 foreground 애플리케이션이 현재 사용자에게 보여지고 있는 상태, 오직 ...




