faceterteam / PayCards_iOS_Source

Credit card scanning for mobile apps
https://pay.cards/
19 stars 33 forks source link

Error when upload app with PayCardsRecognizer.framework ! #2

Closed Vitalik13 closed 7 years ago

Vitalik13 commented 7 years ago

I added manual framework and testing all ready, but when I want upload my project in itunesconnect for testing with TestFlight. I got next warning

2017-11-07 12 23 00

Then I got next errors

2017-11-07 12 41 56

Please help me!

vitkuzmenko commented 7 years ago

Hello! Bitcode is enabled for your app?

vitkuzmenko commented 7 years ago

we got this error when trying to submit with the bitcode off

Vitalik13 commented 7 years ago

My app have bitcode is enabled

vitkuzmenko commented 7 years ago

Try install framework from cocoapods.

Vitalik13 commented 7 years ago

I need change border color from scan view and if I add with cocoapods. I cann't change color.

vitkuzmenko commented 7 years ago

Try to install from cocoapods and change pictures in /Pods/PayCardsRecognizer/PayCardsRecognizer.framework. We add modifying frame colors soon...

Vitalik13 commented 7 years ago
2017-11-07 13 35 48
vitkuzmenko commented 7 years ago

pod update

vitkuzmenko commented 7 years ago

You also can clone https://github.com/faceterteam/PayCards_iOS_Source then make some changes and build project. After, use builded PayCardsRecognizer.framework in project folder.

Vitalik13 commented 7 years ago

У тебя XCode 9.1? Просто Alamofire устанавливается и через pod и вручную. А тут что то не понятное твориться ( ты пробывал собирать этот framework на XCode 9.1?

vitkuzmenko commented 7 years ago

Important! All targets uses in project should bitcode is on!

Vitalik13 commented 7 years ago

Я изначально так сделал и у меня всё работала при тестировании, но когда я начал заливать для TestFlight. В таргет приложении тоже bitcode включён

vitkuzmenko commented 7 years ago

Давай сначала разберемся с cocoapods, сделай не pod install а pod update. видимо старая база спеков у тебя

Vitalik13 commented 7 years ago

Уже сделал сейчас попробую залить и отпишусь))

tchernitski commented 7 years ago

Also pay your attention to https://github.com/faceterteam/PayCards_iOS_Source/blob/3a340383da7b4874489b44a7ed2cee3dec2efb18/concat.sh#L1

it can help you to fix Unsupported architectures ... error

Vitalik13 commented 7 years ago

@tchernitski do you mean that script need in fix?

Vitalik13 commented 7 years ago

@vitkuzmenko Спасибо большое с помощью pod получилось

vitkuzmenko commented 7 years ago

@Vitalik13 хорошо. на этой неделе постараюсь сделать апдейт с кастомизацией